Could not calculate build plan: Plugin org.apache.maven.plugins:maven-war-plugin:2.1.1 or one of

xiaoxiao2021-02-28  137

创建项目时报以下错误.

Could not calculate build plan: Plugin org.apache.maven.plugins:maven-war-plugin:2.1.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for ...

此问题的解决: 1、确认windows -> Preferences -> maven 的settings.xml文件中,设置代理,很多可能是你设置出现错误. 2、C:\Users\ttt\.m2\repository\org\apache\maven\plugins目录下的文件夹全部删除,重新下载。

转载请注明原文地址: https://www.6miu.com/read-50146.html

最新回复(0)