Eclipse2020版本:pom.xml第一行报错:Could not initialize class org.apache.maven.plugin.war.
eclipse2020或以上版本和2018版本不一样、需要添加或修改pom.xml中插件的版本号
亲测如下:在pom.xml的<build>....</build>中增加下面代码
<plugin>
   <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-war-plugin</artifactId>
                 <version>3.3.1</version>
</plugin>
 
                    版权声明:程序员胖胖胖虎阿 发表于 2023年8月30日 下午8:56。
转载请注明:Eclipse2020版本:pom.xml第一行报错:Could not initialize class org.apache.maven.plugin.war. | 胖虎的工具箱-编程导航
                    
            转载请注明:Eclipse2020版本:pom.xml第一行报错:Could not initialize class org.apache.maven.plugin.war. | 胖虎的工具箱-编程导航
相关文章
暂无评论...
