1.忘记在eclipse中配置maven
报错:
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
网上找到解决方案:
a、确认你电脑上MyEclipse有配置maven;
b、配置了maven,查看你maven的setting.xml,看看你的资源中央库的路径是否正确
检查自己配置,发现eclipse中没有配置maven
配置方法:windows--->preference---->maven----->installations、user settings
配置完以上之后,发现编译工程报如下错误:
An internal error occurred during: "Updating Maven Project".
Unsupported IClasspathEntry kind=4
解决方法如下:
在工程上右键单击--->maven----->disable maven nature----->到工程所在主目录下命令行中执行 mvn eclipse:clean----->返回eclipse中工程上右键----->configure------>convert to maven project
问题解决!