Make Tomcat Ignore servlets in Web-inf/lib

Source: Internet
Author: User
Tags tomcat


4 Down vote favorite 2

I ' m created a web-application and I need it to is able to interact with a graph database (I ' m using Titan). When adding Titan's dependency, I get the following errors when I try to deploy this WAR in Tomcat:

Severe:a child container failed during start java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException:Failed to start component [Standardengine[tomcat]. Standardhost[localhost]. Standardcontext[] at Java.util.concurrent.FutureTask.report (futuretask.java:122) at Java.util.concurrent.FutureTa Sk.get (futuretask.java:188) at Org.apache.catalina.core.ContainerBase.startInternal (containerbase.java:1123) at or G.apache.catalina.core.standardhost.startinternal (standardhost.java:800) at Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:150) at org.apache.catalina.core.containerbase$ Startchild.call (containerbase.java:1559) at Org.apache.catalina.core.containerbase$startchild.call ( containerbase.java:1549) at Java.util.concurrent.FutureTask.run (futuretask.java:262) at Java.util.concurrent.Threa Dpoolexecutor.runworker (threadpoolexecutor.java:1145) at Java.util.concurrent.threadpoolexecutor$worker.run ( Threadpoolexecutor.java: 615) at Java.lang.Thread.run (thread.java:744) caused by:org.apache.catalina.LifecycleException:Failed to start comp Onent [Standardengine[tomcat]. Standardhost[localhost]. Standardcontext[]] at Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:154) ... 6 more caused By:java.lang.LinkageError:loader constraint Violation:loader (instance of Org/apache/catalina/loader/web Appclassloader) previously initiated loading for a different type with name ' Javax/servlet/servletcontext ' at Java.lan G.classloader.defineclass1 (Native Method) at Java.lang.ClassLoader.defineClass (classloader.java:800) at Java.secur ity. Secureclassloader.defineclass (Secureclassl

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.