3/17/10 9:55:59 AM CST: [INFO] User settings file does not exist C:/Documents and Settings/Administrator/.m2/settings.xml

来源:互联网 发布:维棠视频下载软件 编辑:程序博客网 时间:2024/05/29 19:16

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

原创粉丝点击