java - Hibernate persitantBag class not found -
while trying deploy war file in tomcat 7, exception occur everytime java.lang.classnotfoundexception: org.hibernate.collection.persistentbag.
although using hibernate 4.3.2 jar file , class in other package (inside org.hibernate.collection.internal.persistentbag) in new version of hibernate jar file.
can 1 please let me know why searching file in package? have checked pom file , there no file related older hibernate version.
here stack trace :
nov 18, 2014 4:17:08 pm org.apache.catalina.session.standardmanager doload severe: classnotfoundexception while loading persisted sessions: java.lang.classnotfoundexception: org.hibernate.collection.persistentbag java.lang.classnotfoundexception: org.hibernate.collection.persistentbag @ org.apache.catalina.loader.webappclassloader.loadclass(webappclassloader.java:1720) @ org.apache.catalina.loader.webappclassloader.loadclass(webappclassloader.java:1571) @ java.lang.class.forname0(native method) @ java.lang.class.forname(class.java:270) @ org.apache.catalina.util.customobjectinputstream.resolveclass(customobjectinputstream.java:74) @ java.io.objectinputstream.readnonproxydesc(objectinputstream.java:1611) @ java.io.objectinputstream.readclassdesc(objectinputstream.java:1516) @ java.io.objectinputstream.readordinaryobject(objectinputstream.java:1770) @ java.io.objectinputstream.readobject0(objectinputstream.java:1349) @ java.io.objectinputstream.defaultreadfields(objectinputstream.java:1989) @ java.io.objectinputstream.readserialdata(objectinputstream.java:1914) @ java.io.objectinputstream.readordinaryobject(objectinputstream.java:1797) @ java.io.objectinputstream.readobject0(objectinputstream.java:1349) @ java.io.objectinputstream.readobject(objectinputstream.java:369) @ org.apache.catalina.session.standardsession.readobject(standardsession.java:1595) @ org.apache.catalina.session.standardsession.readobjectdata(standardsession.java:1060) @ org.apache.catalina.session.standardmanager.doload(standardmanager.java:282) @ org.apache.catalina.session.standardmanager.load(standardmanager.java:202) @ org.apache.catalina.session.standardmanager.startinternal(standardmanager.java:489) @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:150) @ org.apache.catalina.core.standardcontext.startinternal(standardcontext.java:5476) @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:150) @ org.apache.catalina.core.containerbase.addchildinternal(containerbase.java:901) @ org.apache.catalina.core.containerbase.addchild(containerbase.java:877) @ org.apache.catalina.core.standardhost.addchild(standardhost.java:632) @ org.apache.catalina.startup.hostconfig.deploywar(hostconfig.java:1073) @ org.apache.catalina.startup.hostconfig$deploywar.run(hostconfig.java:1857) @ java.util.concurrent.executors$runnableadapter.call(executors.java:471) @ java.util.concurrent.futuretask$sync.innerrun(futuretask.java:334) @ java.util.concurrent.futuretask.run(futuretask.java:166) @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1146) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:615) @ java.lang.thread.run(thread.java:701) nov 18, 2014 4:17:08 pm org.apache.catalina.session.standardmanager startinternal severe: exception loading sessions persistent storage java.lang.classnotfoundexception: org.hibernate.collection.persistentbag @ org.apache.catalina.loader.webappclassloader.loadclass(webappclassloader.java:1720) @ org.apache.catalina.loader.webappclassloader.loadclass(webappclassloader.java:1571) @ java.lang.class.forname0(native method) @ java.lang.class.forname(class.java:270) @ org.apache.catalina.util.customobjectinputstream.resolveclass(customobjectinputstream.java:74) @ java.io.objectinputstream.readnonproxydesc(objectinputstream.java:1611) @ java.io.objectinputstream.readclassdesc(objectinputstream.java:1516) @ java.io.objectinputstream.readordinaryobject(objectinputstream.java:1770) @ java.io.objectinputstream.readobject0(objectinputstream.java:1349) @ java.io.objectinputstream.defaultreadfields(objectinputstream.java:1989) @ java.io.objectinputstream.readserialdata(objectinputstream.java:1914) @ java.io.objectinputstream.readordinaryobject(objectinputstream.java:1797) @ java.io.objectinputstream.readobject0(objectinputstream.java:1349) @ java.io.objectinputstream.readobject(objectinputstream.java:369) @ org.apache.catalina.session.standardsession.readobject(standardsession.java:1595) @ org.apache.catalina.session.standardsession.readobjectdata(standardsession.java:1060) @ org.apache.catalina.session.standardmanager.doload(standardmanager.java:282) @ org.apache.catalina.session.standardmanager.load(standardmanager.java:202) @ org.apache.catalina.session.standardmanager.startinternal(standardmanager.java:489) @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:150) @ org.apache.catalina.core.standardcontext.startinternal(standardcontext.java:5476) @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:150) @ org.apache.catalina.core.containerbase.addchildinternal(containerbase.java:901) @ org.apache.catalina.core.containerbase.addchild(containerbase.java:877) @ org.apache.catalina.core.standardhost.addchild(standardhost.java:632) @ org.apache.catalina.startup.hostconfig.deploywar(hostconfig.java:1073) @ org.apache.catalina.startup.hostconfig$deploywar.run(hostconfig.java:1857) @ java.util.concurrent.executors$runnableadapter.call(executors.java:471) @ java.util.concurrent.futuretask$sync.innerrun(futuretask.java:334) @ java.util.concurrent.futuretask.run(futuretask.java:166) @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1146) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:615) @ java.lang.thread.run(thread.java:701) nov 18, 2014 4:17:09 pm org.apache.catalina.startup.hostconfig deploywar
thanks abhishek
Comments
Post a Comment