[jboss-user] [Beginners Corner] - Using Hibernate 3 in JBOSS 4.0.1sp1
mailinator
do-not-reply at jboss.com
Thu Apr 12 13:05:11 EDT 2007
Hi,
I'm trying to move a web app I've got from Tomcat to JBOSS. The app makes use of Hibernate 3. When I start up JBOSS I get the error below. If I simply remove cglib-full-2.0.1.jar from jboss-4.0.1sp1\server\[default|all]\deploy\jboss-hibernate.deployer then everything is happy (i.e., it starts up but I haven't tested much). That seems like too much of a hack though and it leaves behind other Hibernate 2 jar files in the same directories. My question: Is there a proper way of solving this problem? Any help would be appreciated.
Thanks
Andy
16:40:20,921 INFO [SettingsFactory] Default entity-mode: pojo
16:40:20,968 INFO [SessionFactoryImpl] building session factory
16:40:21,687 INFO [STDOUT] java.lang.NoSuchMethodError: net.sf.cglib.proxy.Enhancer.setInterceptDuringConstruction(Z)V
16:40:21,687 INFO [STDOUT] at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:116)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036802#4036802
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036802
More information about the jboss-user
mailing list