Cannot construct org.apache.maven.plugin.war.util.WebappStructure as it does not have a no-args constructor

后端 未结 14 877
执念已碎
执念已碎 2021-01-30 12:27
[INFO] [war:war {execution: default-war}]
[INFO] Packaging webapp
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[IN         


        
14条回答
  •  佛祖请我去吃肉
    2021-01-30 12:47

    Perhaps a version of maven war plugin is being used, which does not work with Java 7? As per this issue (which describes a similar problem), 2.1.1 version of maven war plugin should work.

    Include the following in your pom.xml

    
        org.apache.maven.plugins
        maven-war-plugin
        2.1.1
    
    

提交回复
热议问题