关于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、如果单独一个包报错的话,在项目构造的地方重新引入新的包。

posted @ 2025-02-06 16:51  lulumi胖宝宝  阅读(62)  评论(0)    收藏  举报