使用eclipse创建 dynamic web project
在将项目转换成maven项目时保如下错误
pom文件为eclipse 自动生成没有改动 如下
http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 test test 0.0.1-SNAPSHOT war src maven-compiler-plugin 3.5.1 1.8 1.8 maven-war-plugin 2.6 WebContent false
目前已经试过以下方法 都不奏效
1.强行update项目,报错同上
2.删除.m2/repository下的.lastUpdated文件,clean项目之后 再update
3.将插件版本改为低版本2.0
搜索了好多也没有找到答案 ,求高人指点
===============
settings.xml文件
http://maven.apache.org/xsd/settings-1.0.0.xsd"> releases admin admin123 snapshots admin admin123 nexus * http://192.168.15.1:8080/nexus/content/groups/public/ nexus central http://192.168.15.1:8080/nexus/content/repositories/central/ true true central http://192.168.15.1:8080/nexus/content/repositories/central/ true true nexus
nexus页面可以进入
请检查一下你们自己的nexus (192.168.15.1:8080/nexus) maven库代理是否正常工作,确认一下nexus上有你需要的插件