1.修改本地仓库地址以及中央仓库地址
修改maven安装目录下settings.xml文件
本地仓库标签:<localRepository>E:/m2/repository</localRepository>
中央仓库标签:
<mirror> <id>alimaven</id> <mirrorOf>central</mirrorOf> <name>aliyun maven</name> <url>http://maven.aliyun.com/nexus/content/groups/public/</url> </mirror>
2.eclipse构建maven项目无法转为2.5及以上
http://jingyan.baidu.com/article/fb48e8be3279766e622e1496.html
1.项目目录其切换为navigator模式
2.在Navigator下打开项目.settings目录下org.eclipse.wst.common.component,和 org.eclipse.wst.common.PRoject.facet.core.xml并做相应修改
新闻热点
疑难解答