[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Hibernate: NoClassDefFoundError

editha do-not-reply at jboss.com
Fri Jan 26 05:00:08 EST 2007


Hi!

I use jboss 4.0.4-Ga with Hibernate2. I also need a scoped repository for the application that uses hibernate. When the application is about to be deployed the Exception "NoClassDefFoundError: net/sf/cglib/KeyFactory" is thrown although the cglib.jar is in the WEB-INF/lib directory as well as all the other dependency libraries of hibernate 2 and the hibernate2.jar. 

When I remove the scoped repository it works fine. But i really need it..
Any ideas what might be the cause of the probem and how to solve it?

Edith




View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006731#4006731

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4006731



More information about the jboss-user mailing list