This is an error-solving method that occurs when you run a Tomcat in Eclipse.
This usually occurs when you change the JAVA version or Tomcat version.
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException
■ Cause
This occurs because the servlet.jar version is not compatible with the Tomcat version.
■ Solution
The following is the specification specified in Tomcat, and you can adjust the specification of that version.
http://tomcat.apache.org/whichversion.html
In my case, it happened when I changed from Tomcat7 to Tomcat8.
So, I solved it by changing the servlet version in myven.
Before |
After |
<dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <scope>provided</scope> <version>2.5</version> </dependency> |
<dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> <scope>provided</scope> <version>3.1.0</version> </dependency> |
'ENGLISH' 카테고리의 다른 글
JAVA RSA Error - invalid key format (0) | 2021.01.24 |
---|---|
How to Auto-print an Infinite Ink Printer (0) | 2018.12.02 |
Infinite Ink Printer InkPad (0) | 2018.12.02 |
Example of adding an Android app Adfit ad (0) | 2018.12.02 |
Example of adding an Android app Admob ad (0) | 2018.12.02 |