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).
进入Eclipse后,Window->Preferences,点击左侧的Maven,同样会报错如下:
本人解决方法如下:
关闭所有maven项目,重启eclipse,打开maven项目