首页 > 学院 > 开发设计 > 正文

maven整合springmvvc项目遇到的一些问题及解决方

2019-11-06 08:40:06
字体:
来源:转载
供稿:网友

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并做相应修改


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表