请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

正在回答 回答被采纳积分+3

1回答

geelylucky 2019-06-15 12:47:04

找到创建过程中指定的.m2文件夹,在里面创建一个settings.xml,内容如下:

<?xml version="1.0" encoding="UTF-8"?>

<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" 

          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">

<mirrors>

<mirror>

      <id>nexus-aliyun</id>

      <mirrorOf>*</mirrorOf> 

      <url>http://maven.aliyun.com/nexus/content/groups/public/</url>

    </mirror>

<mirror>

      <id>neuroph.sourceforge.net</id>

      <mirrorOf>*</mirrorOf>

      <url>http://neuroph.sourceforge.net/maven2/</url>

    </mirror>

</mirrors>

</settings>

1 回复 有任何疑惑可以回复我~
问题已解决,确定采纳
还有疑问,暂不采纳
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号