由于手贱,建立了私库的索引,因此 几乎没此 都要更新几百M的索引文件.否则 明明在本地私库里的jar包 也无法注入到工程中
不知nexus3的问题 还是这个idea中 maven机制的问题 也就是 每次更新私库上传jar包的时候,都要更新这个索引 否则本地只会找这个索引
解决办法 : 删除C:\Users\当前用户.IntelliJIdea2019.2\system\Maven\Indices\下的所有文件
这个需要关闭idea
这样再打开idea 所有依赖完美解决
 
修改本地库
config-settting.xml  
 
<localRepository>C:\LocalWarehouse</localRepository>
<mirror>  
    <id>nexus-aliyun</id>  
    <mirrorOf>central</mirrorOf>    
    <name>Nexus aliyun</name>  
    <url>http://maven.aliyun.com/nexus/content/groups/public</url>  
 </mirror>

相关文章:

  • 2021-06-05
  • 2022-01-30
  • 2022-12-23
  • 2019-03-04
  • 2021-12-21
  • 2022-12-23
  • 2022-12-23
  • 2021-05-11
猜你喜欢
  • 2021-09-04
  • 2022-02-13
  • 2022-12-23
  • 2021-09-25
  • 2021-11-07
相关资源
相似解决方案