关于maven编译项目遇到的一部分问题的解决思路
1、如果是使用自己下载的maven项目的话,先检查maven的路径是否正确。
2、检查setting.xml文件的地址是否正确,是否可以正确访问。
[ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:3.1.0 or one of its dependencies could not be resolved:
[ERROR] Cannot access nexus-aliyun (http://maven.aliyun.com/nexus/content/groups/public) in offline mode and the artifact org.apache.maven.plugins:maven-clean-plugin:jar:3.1.0 has not been downloaded from it before.
3、如果单独一个包报错的话,在项目构造的地方重新引入新的包。
浙公网安备 33010602011771号