Eclipse导入maven项目后出现的有关问题
Eclipse导入maven项目后出现的问题
pom.xml文件报错:
Multiple annotations found at this line:
- No plugin found for prefix 'war' in the current project and in the plugin groups [] available from the
repositories [local (C:\Users\Administrator\.m2\repository), central (http://repo.maven.apache.org/maven2)]
- Failure to transfer org.apache.maven.plugins:maven-resources-plugin:pom:2.6 from http://
repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until
the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact
org.apache.maven.plugins:maven-resources-plugin:pom:2.6 from/to central (http://repo.maven.apache.org/
maven2): The operation was cancelled.
Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (execution: default-compile, phase: compile)
本人菜鸟一个,求帮助!
------解决思路----------------------
http://toeo.iteye.com/blog/1264124
pom.xml文件报错:
Multiple annotations found at this line:
- No plugin found for prefix 'war' in the current project and in the plugin groups [] available from the
repositories [local (C:\Users\Administrator\.m2\repository), central (http://repo.maven.apache.org/maven2)]
- Failure to transfer org.apache.maven.plugins:maven-resources-plugin:pom:2.6 from http://
repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until
the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact
org.apache.maven.plugins:maven-resources-plugin:pom:2.6 from/to central (http://repo.maven.apache.org/
maven2): The operation was cancelled.
Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (execution: default-compile, phase: compile)
本人菜鸟一个,求帮助!
------解决思路----------------------
http://toeo.iteye.com/blog/1264124