Friday 7 October 2016

java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException

java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: 
Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext

Above exception occurs when we start the tomcat server and shows the state of conflicting of jars in the library or dependencies.

Usually adding  commons-digester3-3.2.jar from Apache Commons Digester. If you are using Maven you can add will solve the issue.
<dependency>
    <groupId>commons-digester</groupId>
    <artifactId>commons-digester</artifactId>
    <version>2.1</version>
</dependency>
But if your project having common.logging jars along with commons-digestor library 
this exception would again.

So you need to remove common.logging jars from the library or pom.xml from the project.

Same I have tried and worked perfectly  and tomcat was starting successfully.

1 comment: