File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.lang.ClassNotFoundException: org.hibernate.event.EventListeners$2 on weblogic server stop

 
thinkpavan pavan
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i get the following execption while stoping the weblogic 10.3.2 server.

<Apr 6, 2011 5:46:53 PM IST> <Error> <Deployer> <BEA-149250> <Unable to unprepare application sam_test.ear'.
java.lang.ClassNotFoundException: org.hibernate.event.EventListeners$2
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:296)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
Truncated. see log file for complete stacktrace

Caused By: java.lang.ClassNotFoundException: org.hibernate.event.EventListeners$2
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:296)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
Truncated. see log file for complete stacktrace
>

 
Ravish Mody
Greenhorn
Posts: 7
Java Oracle Redhat
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi pavan,

It seems that you are missing "hibernate-core-x.x.x.jar" in your classpath which has the required class which is needed "org.hibernate.event.EventListeners$2 ". As you dont have this jar thats the reason you are getting this error.

Caused By: java.lang.ClassNotFoundException: org.hibernate.event.EventListeners$2

You can put that jar in your domain lib and restart you server that would solve your issue.
 
thinkpavan pavan
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ravish,
Thnks for the reply. I have the hibernate.xxxx.jar in my lib directory. And use hibernate extensively in my application. how ever i see this only on server stop.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic