1.忘记在eclipse中配置mavenapache
报错:windows
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-compiler-plugin:2.3.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-compiler-plugin:jar:2.3.2: ArtifactResolutionException: Failure to transfer org.apache.maven.plugins:maven-compiler-plugin:pom:2.3.2 from eclipse
网上找到解决方案:maven
a、确认你电脑上MyEclipse有配置maven;ui
b、配置了maven,查看你maven的setting.xml,看看你的资源中央库的路径是否正确spa
检查本身配置,发现eclipse中没有配置maven命令行
配置方法:windows--->preference---->maven----->installations、user settingsxml
配置完以上以后,发现编译工程报以下错误:ip
An internal error occurred during: "Updating Maven Project".
Unsupported IClasspathEntry kind=4ci
解决方法以下:
在工程上右键单击--->maven----->disable maven nature----->到工程所在主目录下命令行中执行 mvn eclipse:clean----->返回eclipse中工程上右键----->configure------>convert to maven project
问题解决!