Could not find artifact xxx:xxx:pom: in nexus-aliyun

idea使用maven导包,报错:

Could not find artifact jaxen:jaxen:pom: in nexus-aliyun (http://maven.aliyun.com/nexus/content/groups/public)

之前导包没有什么错误,这次导个jaxen就不好使了

怎么解决呢?
 

来到设置中,File->Settings->Maven

 

将Maven路径改为本地路径

这是如果还不可以,再找到maven->Repositories,

点击左侧Maven,在右侧勾选上Always update snapshots

猜你喜欢

转载自blog.csdn.net/qq_44985985/article/details/109148750