NoClassDefFoundError « Collection « JPA Q&A





1. java.lang.NoClassDefFoundError: net/sf/hibernate/collection/    forum.hibernate.org

I am deploying my 2.1 hiberanate appplication into JBoss4.0.3RC2. The old 2.1 hiberanate appplication throws java.lang.NoClassDefFoundError on net/sf/hibernate/collection/Set even though I have copied hiberate2.jar into JBoss4.0.3RC2/server/default/lib and included it in my war. Thanks for any helps, wade Hibernate version: 2.1 Full stack trace of any exception that occurs: java.rmi.ServerError: Unexpected Error; nested exception is: java.lang.NoClassDefFoundError: net/sf/hibernate/collection/Set at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:399) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:196) at ...

2. java.lang.NoClassDefFoundError: net/sf/hibernate/collection/    forum.hibernate.org

I am deploying my 2.1 hiberanate appplication into JBoss4.0.3RC2. The old 2.1 hiberanate appplication throws java.lang.NoClassDefFoundError on net/sf/hibernate/collection/Set even though I have copied hiberate2.jar into JBoss4.0.3RC2/server/default/lib and included it in my war. Thanks for any helps, wade Hibernate version: 2.1 Full stack trace of any exception that occurs: java.rmi.ServerError: Unexpected Error; nested exception is: java.lang.NoClassDefFoundError: net/sf/hibernate/collection/Set at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:399) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:196) at ...