Right now, I'm compiling my .class files in eclipse and moving them over to my %tomcat_home%\webapps\myapp\WEB-INF\classes
directory. They compile just fine.
I also have in the ...\classes
directory a org.springframework.jdbc-3.0.2.RELEASE.jar
which I have verified has the org.springframework.jdbc.datasource.DriverManagerDataSource
class inside it.
However, I get a NoClassDefFound
error when I run my class and it tries to DriverManagerDataSource source = new DriverManagerDataSource();
I don't understand why it wouldn't be finding that jar.
Any help is appreciated!