[opencms-dev] NoClassDefFoundError (Eclipse, OpenCms 9.5.2)

Tobias Karrer kartobi at gmail.com
Mon Jul 20 17:06:18 CEST 2015


Hi all,

I was running OpenCms 9.0.1 in Eclipse using Java 7 and Tomcat 7 (via 
Wtp) for local development.

After updating to 9.5.2 (same for 9.5.0) Tomcat didn't start up again - 
following exception:

SEVERE: Exception sending context destroyed event to listener instance 
of class org.opencms.main.OpenCmsListener
java.lang.NoClassDefFoundError: Could not initialize class 
org.opencms.i18n.CmsLocaleManager
     at 
org.opencms.i18n.CmsLocaleManager.getDefaultLocale(CmsLocaleManager.java:154)
     at 
org.opencms.i18n.A_CmsMessageBundle.getBundle(A_CmsMessageBundle.java:158)
     at 
org.opencms.main.OpenCmsListener.contextDestroyed(OpenCmsListener.java:74)
     at 
org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4776)
     at 
org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5390)
     at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160)
     at 
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
     at 
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
     at java.util.concurrent.FutureTask.run(FutureTask.java:262)
     at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
     at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
     at java.lang.Thread.run(Thread.java:744)


Did someone had the same problem?
I checked CmsLocaleManager in opencms.jar, look ok so far...

What could be the cause and as well the solution?

Regards,
Tobias



More information about the opencms-dev mailing list