Eclipse Luna 4.4.0
Error occurred during the Build
Error instantiating builder 'ord.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 (547).
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 (547).
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.m23.core (547).
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 (547).
if i delete the folder .metadata
and all .project
and .setting
data from my workspace, i get no error. After one day of work i´ll get the same error.
Try next steps:
- Go to your eclipse installation folder
- Run "eclipse.exe -clean"
- Work normally
- Enjoy
I ran into this same issue and I believe the culprit to be the Sonarqube plugin I had installed.
This discussion pointed me in that direction:
Uninstalled the Sonarqube plugin and the error is gone.
I uninstalled my Netbeans because Eclipse and Netbeans are both usin the same workspace.
i uninstalled Netbeans and the error is gone.
In my case, the problem resulted to be my Eclipse was running on an outdated IBM Java Virtual Machine. I updated my IBM JRE, I modified my eclipse.ini in order to update the -vm parameter so it points to the new installation, and it solved the problem.
In my case none of the above solutions worked. I used eclipse with two different workspaces, one works, seconds had this error. My solution was it to copy from the working workspace the following files over the corrupted one:
[workspace]/.metadata/.plugins/org.eclipse.m2e.core
[workspace]/.metadata/.plugins/org.eclipse.m2e.core.ui
[workspace]/.metadata/.plugins/org.eclipse.m2e.jdt
[workspace]/.metadata/.plugins/org.eclipse.m2e.launching
[workspace]/.metadata/.plugins/org.eclipse.m2e.logback.configuration
I'm using eclipse mars 64-bit version. So maybe before your whole workspace gets broken this might be a solution from a clean installation to copy.
exclude the error js files. it will definitely will work..
I keep my Workspace on Dropbox. I had this issue occur, and managed to solve it by searching within [workspace]/.metadata/ for the word 'conflicted' and deleting all these files Dropbox had created. Error was gone when I restarted Eclipse.
I have added 'javaw.exe' in the bin file (C:\Program Files\Java\jdk-X.X.X\bin) as a System variable and deleted all the module info. This worked for me. However, this might be specific to the Enterprise Java package.
来源:https://stackoverflow.com/questions/25929458/building-workspace-has-encountered-an-error