maven-tomcat7-plugin produces corrupted executable JAR

后端 未结 3 445
心在旅途
心在旅途 2021-01-12 08:38

I have problem using Maven Tomcat7 plugin to produce JAR archives with embedded Tomcat7 instance. Here is my pom.xml snippet:



        
3条回答
  •  日久生厌
    2021-01-12 09:08

    Remove the path from the configuration. And use 2.1 version of the tomcat plugin. Making those two changes in my pom file fixed a similar issue for me. Also I had cleaned the $M2_REPO/org/apache folder prior to rerunning.

提交回复
热议问题