maven pom.xml文件第一行报错,用以下设置即可

报错信息如下:

Failure to transfer org.codehaus.plexus:plexus:pom:1.0.11 from http://repo1.maven.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.codehaus.plexus:plexus:pom:1.0.11 from/to central (http://repo1.maven.org/maven2): No response received after 60000

1.先去掉Maven工程的maven特性,选中工程 鼠标右键-->Maven-->Disable Maven Nature. 此步骤后pom.xml错误消失

2.Preferences > General > Capabilities > Advanced > MyEclipse Standard Tools > WTP (Deprecated).选中后OK退出,项目右键configure 重新加载maven模块,便可出现

经过上述步骤,Maven工程就正常了。


你可能感兴趣的:(maven pom.xml文件第一行报错,用以下设置即可)