Eclipse2020版本:pom.xml第一行报错:Could not initialize class org.apache.maven.plugin.war.
生活随笔
收集整理的這篇文章主要介紹了
Eclipse2020版本:pom.xml第一行报错:Could not initialize class org.apache.maven.plugin.war.
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
eclipse2020或以上版本和2018版本不一樣、需要添加或修改pom.xml中插件的版本號(hào)
親測(cè)如下:在pom.xml的<build>....</build>中增加下面代碼
<plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-war-plugin</artifactId><version>3.3.1</version> </plugin>總結(jié)
以上是生活随笔為你收集整理的Eclipse2020版本:pom.xml第一行报错:Could not initialize class org.apache.maven.plugin.war.的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: HTML+CSS+JS实现 ❤️鼠标悬停
- 下一篇: IDEA(2021)最全常用快捷键《必须