eclipse maven 错误Errors occurred during the build

情景:
eclipse突然挂掉然后 maven 无法使用

错误信息:
Errors occurred during the build.
Error instantiating builder ‘org.eclipse.m2e.core.maven2Builder’.
Plug-in org.eclipse.m2e.core was unable to load class org.eclipse.m2e.core.internal.builder.MavenBuilder.
An error occurred while automatically activating bundle org.eclipse.m2e.core (524).
Plug-in org.eclipse.m2e.core was unable to load class org.eclipse.m2e.core.internal.builder.MavenBuilder.
An error occurred while automatically activating bundle org.eclipse.m2e.core (524).

解决方案:
google、百度之后的解决方案就是使用其他workspace的\.metadata\.plugins\org.eclipse.e4.workbench\workbench.xmi文件进行替换,第一次替换失败,再次替换成功了。

 

发表评论

电子邮件地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据