您当前的位置:JZ5U绿色下载站文章中心设计学院Photoshop → 文章内容
  • 如何解决idea工具maven的导入依赖太慢

修正setting.xml文件

导入阿里的映射文件,删除原先的mirrors元素


代码:

<?xml version="1.0" encoding="UTF-8"?> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> alimaven aliyun maven http://maven.aliyun.com/nexus/content/groups/public/ central uk central Human Readable Name for this Mirror. http://uk.maven.org/maven2/ CN OSChina Central http://maven.oschina.net/content/groups/public/ central nexus internal nexus repository <!--http://192.168.1.100:8081/nexus/content/groups/public/--> http://repo.maven.apache.org/maven2 central

然后重启一下idea就能够了


  • 作者:互联网  来源:本站整理  发布时间:2019-10-24 14:15:51


------------------------------- · 相关文档浏览 · --------------------------------------------------------------------- · 热门文档浏览 · -------------------------------------