NoClassDefFound error - Spring JDBC
Posted
by glowcoder
on Stack Overflow
See other posts from Stack Overflow
or by glowcoder
Published on 2010-05-27T16:04:49Z
Indexed on
2010/05/27
16:11 UTC
Read the original article
Hit count: 282
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!
© Stack Overflow or respective owner