[ERROR] Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:run (default-cli) on project Example: Could not start Tomcat: Failed to start component [StandardServer[-1]]: Failed to start component [StandardService[Tomcat]]: Failed to start component [StandardEngine[Tomcat]]: A child container failed during start -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:run (default-cli) on project Example: Could not start Tomcat |
Tomcat maven插件run报LifecycleExecutionException或者A child container failed during start
当使用Tomcat maven插件run启动时,由于javax.servlet-api与tomcat-servlet-api的依赖冲突导致LifecycleExecutionException错误。解决办法是移除pom.xml中javax.servlet-api的依赖。
摘要由CSDN通过智能技术生成