Tomcat: LifecycleException when deploying

后端 未结 15 818
我在风中等你
我在风中等你 2020-11-30 09:35

I just downloaded the Tomcat 7.0.23 package on my Ubuntu 11.10.

I followed the instructions on a Google API website to deploy their example webapp. It basically con

相关标签:
15条回答
  • 2020-11-30 10:20

    I had this problem, where it just would not deploy on Tomcat , then i removed all @webServlet Annotations from all my servlet code and it deployed successfully.

    0 讨论(0)
  • 2020-11-30 10:21

    There is also change that Eclipse Project is somehow corrupted. Usually case like this Eclipse is added some duplicated .jars in your project and those .jars are usually same as Maven Dependency .jars.

    If your project look like below example there is huge change that Maven Dependencies are duplicated and should be removed manually.


    e.g. (Project Explorer View)
    src/main/java
    src/test/java
    spring-boot-vaadin.jar
    spring-aop.jar
    Maven Dependencies
      spring-boot-vaadin.jar
      spring-aop.jar
    etc...

    ...and this is cure :-)


    Project/Properties/Java Build Path/Libraries

    Just remove all REPO_M2/... paths and update project.

    0 讨论(0)
  • 2020-11-30 10:25

    I got this error when deploying a war file to Tomcat. My project required Java 1.8, and it turned out only Java 1.7 was installed. It wasn't immediately obvious from any log file that I could find.

    0 讨论(0)
提交回复
热议问题