In eclipse, after updating the JDK, start tomcat error:

Source: Internet
Author: User
Tags microsoft sql server apache tomcat


After updating to this version, start tomcat error:

April 25, 2016 10:13:20 am Org.apache.catalina.core.AprLifecycleListener lifecycleevent
Info:the APR based Apache Tomcat Native Library which allows optimal performance in production environments is not found On the Java.library.path:H:\Java\jdk1.7.0_25\jre\bin;C:\WINDOWS\Sun\Java\bin; C:\WINDOWS\system32; C:\WINDOWS;H:\Java\jdk1.7.0_25\jre\bin;C:/Program Files/java/jre1.8.0_92/bin/server;C:/Program Files/java/jre1.8.0_92/bin;C:/Program Files/java/jre1.8.0_92/lib/amd64; C:\ProgramData\Oracle\Java\javapath; C:\Program Files (x86) \common Files\netsarang; C:\Program files\broadcom\broadcom 802.11 Network Adapter;; C:\PROGRAM FILES (X86) \nvidia Corporation\physx\common; C:\WINDOWS\SYSTEM32; C:\WINDOWS; C:\WINDOWS\SYSTEM32\WBEM;; H:\JAVA\JDK1.7.0_25\BIN; C:\PROGRAM FILES (X86) \mysql\mysql SERVER 5.0\bin; C:\WINDOWS\SYSTEM32\WBEM; C:\WINDOWS\SYSTEM32\WINDOWSPOWERSHELL\V1.0\; C:\PROGRAM FILES (X86) \microsoft SQL server\100\tools\binn\; C:\PROGRAM FILES (X86) \microsoft SQL server\100\dts\binn\; C:\Program Files\thinkpad\bluetooth software\; C:\Program Files\thinkpad\bluetooth software\syswow64; C:\Program Files\tortoisesvn\bin;d:\apache-maven-3.0.5\bin; J:\2016 Shanghai \eclipse-jee-mars-2-win32-x86_64\eclipse;;.
Java.lang.ClassCastException:Gnu.xml.dom.DomImpl cannot is cast to Org.w3c.dom.ls.DOMImplementationLS
At Org.apache.catalina.core.JreMemoryLeakPreventionListener.lifecycleEvent (Jrememoryleakpreventionlistener.java :
459)
At Org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (lifecyclesupport.java:117)
At Org.apache.catalina.util.LifecycleBase.fireLifecycleEvent (lifecyclebase.java:90)
At Org.apache.catalina.util.LifecycleBase.setStateInternal (lifecyclebase.java:394)
At Org.apache.catalina.util.LifecycleBase.init (lifecyclebase.java:99)
At Org.apache.catalina.startup.Catalina.load (catalina.java:642)
At Org.apache.catalina.startup.Catalina.load (catalina.java:667)
At Sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
At Sun.reflect.NativeMethodAccessorImpl.invoke (nativemethodaccessorimpl.java:57)
At Sun.reflect.DelegatingMethodAccessorImpl.invoke (delegatingmethodaccessorimpl.java:43)
At Java.lang.reflect.Method.invoke (method.java:606)
At Org.apache.catalina.startup.Bootstrap.load (bootstrap.java:253)
At Org.apache.catalina.startup.Bootstrap.main (bootstrap.java:427)
April 25, 2016 10:13:20 am Org.apache.catalina.startup.Catalina start
SEVERE:The required Server component failed to start so Tomcat was unable to start.
Org.apache.catalina.LifecycleException:An Invalid Lifecycle transition is attempted ([Before_start]) for component [ STANDARDSERVER[8005]] in the state [INITIALIZING]
At Org.apache.catalina.util.LifecycleBase.invalidTransition (lifecyclebase.java:401)
At Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:141)
At Org.apache.catalina.startup.Catalina.start (catalina.java:693)
At Sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
At Sun.reflect.NativeMethodAccessorImpl.invoke (nativemethodaccessorimpl.java:57)
At Sun.reflect.DelegatingMethodAccessorImpl.invoke (delegatingmethodaccessorimpl.java:43)
At Java.lang.reflect.Method.invoke (method.java:606)
At Org.apache.catalina.startup.Bootstrap.start (bootstrap.java:294)
At Org.apache.catalina.startup.Bootstrap.main (bootstrap.java:428)
Analyze the above error to know:JDK conflict.
Workaround:




The problem is solved.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.