[opencms-dev] NoClassDefFoundError (Eclipse, OpenCms 9.5.2)
Stephan Schrader
zstephanz at gmail.com
Tue Jul 21 08:31:46 CEST 2015
Hi Tobias,
I faced the same issue, please make sure you have the "log4j.properties" in your classpath.
Stephan
---- Tobias Karrer schrieb ----
>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
>_______________________________________________
>This mail is sent to you from the opencms-dev mailing list
>To change your list options, or to unsubscribe from the list, please visit
>http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20150721/ddf5d51d/attachment.htm>
More information about the opencms-dev
mailing list