Tomcat: LifecycleException when deploying

后端 未结 15 897
我在风中等你
我在风中等你 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: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.

提交回复
热议问题