vgiguere wrote:
It looks to me like you have modified your build path, but that you forgot to inform your web application construction build that it needs to copy over evey lib under lib/hibernate3.0
What I understand is that you have put Hibernate's lib under a directory called hibernate3.0, that this directory is under your lib directory and this is in the Build Path/library.
Since you compile, it appears that you did this correctly. But I guess that somewhere along the way, at one point, your build tries to create a web application out of your project and it needs to copy over these hibernate jars under WEB-INF/lib.
Since you are getting a runtime noClassDefFound, it appears that this is not happening.
I am trying to see of the hibernate3.jar gets copied over properly in your web application structure. Please list the content of the WEB-INF/lib directory. It will be a lot easier to debug if we see that it is not there.
I Hope that this will help,
Vincent.
The directory is listed under WEB-INF/lib also
WEB-INF/lib/Hibernate3.0
/hibernate3.jar
/ant-1.6.3.jar
/ant-antlr-1.6.3.jar
/ant-junit-1.6.3.jar
/ant-launcher-1.6.3.jar
/antlr-2.7.5H3.jar
/ant-swing-1.6.3.jar
/asm.jar
/asm-attrs.jar
/c3p0-0.8.5.2.jar
/cglib-2.1.jar
/cleanimports.jar
/commons-collections-2.1.1.jar
/commons-logging-1.0.4.jar
/concurrent-1.3.2.jar
/connector.jar
/dom4j-1.6.jar
/ehcache-1.1.jar
/hibernate3.jar
/jaas.jar
/jacc-1_0-fr.jar
/jaxen-1.1-beta-4.jar
/jboss-cache.jar
/jboss-common.jar
/jboss-jmx.jar
/jboss-system.jar
/jdbc2_0-stdext.jar
/jgroups-2.2.7.jar
/jta.jar
/junit-3.8.1.jar
/log4j-1.2.9.jar
/oscache-2.1.jar
/proxool-0.8.3.jar
/swarmcache-1.0rc2.jar
/versioncheck.jar
/xerces-2.6.2.jar
/xml-apis.jar
Those are there too:
WEB-INF/lib/commons-beanutils.jar
WEB-INF/lib/commons-collections.jar
WEB-INF/lib/commons-digesters.jar
WEB-INF/lib/commons-fileupload.jar
WEB-INF/lib/commons-lang.jar
WEB-INF/lib/commons-logging.jar
WEB-INF/lib/commons-validator.jar
WEB-INF/lib/jakarta-oro.jar
WEB-INF/lib/jstl.jar
WEB-INF/lib/standard.jar
WEB-INF/lib/struts.jar
WEB-INF/lib/struts-legacy.jar
Maybe I must not put them into a folder after all?
thanks