[jboss-dev-forums] [Design of EJB 3.0] - Re: New persistence unit deployers

scott.stark@jboss.org do-not-reply at jboss.com
Thu Nov 29 02:04:30 EST 2007


I need to see the hibernate-entitymgr.jar source as the root problem is how is the org.hibernate.ejb.Ejb3Configuration generating the classname it is passing into the class loader:


  | Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: WEB-INF.classes.com.sun.ts.tests.ejb30.persistence.ee.common.Account
  | 	at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:306)
  | 	at org.jboss.mx.loading.UnifiedClassLoader.loadClassImpl(UnifiedClassLoader.java:290)
  | 	at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:441)
  | 	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
  | 	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
  | 	at java.lang.Class.forName0(Native Method)
  | 	at java.lang.Class.forName(Class.java:242)
  | 	at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:112)
  | 	at org.hibernate.ejb.Ejb3Configuration.classForName(Ejb3Configuration.java:967)
  | 	at org.hibernate.ejb.Ejb3Configuration.addNamedAnnotatedClasses(Ejb3Configuration.java:1039)
  | 	... 59 more
  | 


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

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



More information about the jboss-dev-forums mailing list