我正在使用 eclipse mars-2。我想在 Windows 中创建一个新的 Maven Spring Boot 项目。但我遇到了类似
的错误Could not calculate build plan: Plugin org.apache.maven.plugins:maven-war-plugin:2.2
or one of its dependencies could not be resolved: Failed to read artifact
descriptor for org.apache.maven.plugins:maven-war-plugin:jar:2.2
Plugin org.apache.maven.plugins:maven-war-plugin:2.2 or one of its dependencies
could not be resolved: Failed to read artifact
descriptor for org.apache.maven.plugins:maven-war-plugin:jar:2.2
谁能帮我解决这个问题吗?
最佳答案
您还可以执行以下步骤。有时它会有所帮助
- 移除/删除您的
.m2/repository/
文件夹 - 然后运行以下命令
mvn clean install
- 然后运行
mvn build
关于java - 无法计算构建计划 : Plugin org. apache.maven.plugins :maven-war-plugin:2. 2,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43708391/