3/17/10 9:55:59 AM CST: [INFO] User settings file does not exist C:/Documents and Settings/Administrator/.m2/settings.xml 分类: 开发常见问题解决方案 20100317 10:20 3448人阅读 评论(4) 收藏

myeclipse命令行窗口总是出现以下信息,看起来很不爽:

3/17/10 9:55:59 AM CST: [INFO] User settings file does not exist C:/Documents and Settings/Administrator/.m2/settings.xml
3/17/10 9:56:01 AM CST: [INFO] User settings file does not exist C:/Documents and Settings/Administrator/.m2/settings.xml
3/17/10 9:56:35 AM CST: Downloading central : nexus-maven-repository-index.zip

解决方法入下:

在Build path中设置classpath Variables中M2_REPO变量值为settings.xml的目录路径即可:

M2_REPO=C:/Documents and Settings/Administrator/.m2/repository

然后重启电脑,测试成功!

本文章为转自:http://www.javaeye.com/topic/576373

原文地址:https://www.cnblogs.com/configman/p/4657628.html