Tomcat 6无法启动:类文件javax / naming / spi / NamingManager中的未知常量标记0

时间:2013-04-12 12:11:04

标签: java windows tomcat6 opencms

我在Windows Server 2003上运行了一个opencms Web应用程序。由于我们将整个系统(os)转移到云(物理到云),所以一切正常。问题是现在tomcat没有启动(它是一个服务),日志显示了这个:

java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) 
Caused by: java.lang.ClassFormatError: Unknown constant tag 0 in class file javax/naming/spi/NamingManager
    at java.lang.ClassLoader.findBootstrapClass(Native Method)
    at java.lang.ClassLoader.findBootstrapClass0(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at org.apache.naming.NamingContext.bind(NamingContext.java:863)
    at org.apache.naming.NamingContext.bind(NamingContext.java:171)
    at org.apache.naming.NamingContext.bind(NamingContext.java:187)
    at org.apache.catalina.core.NamingContextListener.addResource(NamingContextListener.java:1016)
    at org.apache.catalina.core.NamingContextListener.createNamingContext(NamingContextListener.java:633)
    at org.apache.catalina.core.NamingContextListener.lifecycleEvent(NamingContextListener.java:237)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:703)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
    ... 6 more

任何想法是什么或如何解决它? 谢谢!

0 个答案:

没有答案