Myeclipse创建新类时报错Creation of element failed, org.eclipse.core.internal.registry.Conf,编译的也不能成功。查看工程目录中的.metadata中的log可以找error显示是缺少maven这个插件错误。
解决办法:
打开myecplise,help–>Software Updates–>Find and Install在弹出的界面选择Search for new feature项
,然后点击new Remote Site,在弹出的界面输入:
name: maven
URL:http://m2eclipse.sonatype.org/sites/m2e/0.10.0.20100209-0800
选择完成,在弹出的界面,如图:
点击finish 。接着一直点击next直至finish。重启myeclipse,就可以了。