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就不好使了

怎么解决呢?
 

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

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

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

 

将Maven路径改为本地路径

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

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

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

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

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