“构建工作区”遇到错误

时间:2023-01-24 14:57:15

Eclipse Luna 4.4.0

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.

如果我从我的工作区删除文件夹.metadata和所有.project和.setting数据,我没有错误。经过一天的工作,我会得到同样的错误。

7 个解决方案

#1


36  

Try next steps:

尝试下一步:

  1. Go to your eclipse installation folder
  2. 转到您的eclipse安装文件夹
  3. Run "eclipse.exe -clean"
  4. 运行“eclipse.exe -clean”
  5. Work normally
  6. 工作正常
  7. Enjoy
  8. 请享用

#2


9  

I ran into this same issue and I believe the culprit to be the Sonarqube plugin I had installed.

我遇到了同样的问题,我相信罪魁祸首是我安装的Sonarqube插件。

This discussion pointed me in that direction:

这个讨论指出了我的方向:

http://forum.spring.io/forum/spring-projects/springsource-tool-suite/749864-sts-ggts-3-6-0-m1-released

http://forum.spring.io/forum/spring-projects/springsource-tool-suite/749864-sts-ggts-3-6-0-m1-released

Uninstalled the Sonarqube plugin and the error is gone.

卸载了Sonarqube插件,错误消失了。

#3


3  

I uninstalled my Netbeans because Eclipse and Netbeans are both usin the same workspace.

我卸载了我的Netbeans,因为Eclipse和Netbeans都使用相同的工作区。

i uninstalled Netbeans and the error is gone.

我卸载了Netbeans,错误消失了。

#4


2  

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.

在我的例子中,问题导致我的Eclipse在一个过时的IBM Java虚拟机上运行。我更新了我的IBM JRE,我修改了我的eclipse.ini以更新-vm参数,使其指向新安装,并解决了问题。

#5


1  

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:

就我而言,上述解决方案均无效。我使用eclipse有两个不同的工作区,一个工作,秒有这个错误。我的解决方案是从工作工作区复制以下文件到损坏的文件:

[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.

我正在使用eclipse火星64位版本。因此,在您的整个工作区被破坏之前,这可能是一个从干净的安装到复制的解决方案。

#6


0  

exclude the error js files. it will definitely will work..

排除错误js文件。它肯定会起作用..

#7


0  

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.

我把我的Workspace放在Dropbox上。我发生了这个问题,并设法通过在[workspace] /。metadata /中搜索单词'conflicted'并删除Dropbox创建的所有这些文件来解决它。当我重新启动Eclipse时,错误消失了。

#1


36  

Try next steps:

尝试下一步:

  1. Go to your eclipse installation folder
  2. 转到您的eclipse安装文件夹
  3. Run "eclipse.exe -clean"
  4. 运行“eclipse.exe -clean”
  5. Work normally
  6. 工作正常
  7. Enjoy
  8. 请享用

#2


9  

I ran into this same issue and I believe the culprit to be the Sonarqube plugin I had installed.

我遇到了同样的问题,我相信罪魁祸首是我安装的Sonarqube插件。

This discussion pointed me in that direction:

这个讨论指出了我的方向:

http://forum.spring.io/forum/spring-projects/springsource-tool-suite/749864-sts-ggts-3-6-0-m1-released

http://forum.spring.io/forum/spring-projects/springsource-tool-suite/749864-sts-ggts-3-6-0-m1-released

Uninstalled the Sonarqube plugin and the error is gone.

卸载了Sonarqube插件,错误消失了。

#3


3  

I uninstalled my Netbeans because Eclipse and Netbeans are both usin the same workspace.

我卸载了我的Netbeans,因为Eclipse和Netbeans都使用相同的工作区。

i uninstalled Netbeans and the error is gone.

我卸载了Netbeans,错误消失了。

#4


2  

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.

在我的例子中,问题导致我的Eclipse在一个过时的IBM Java虚拟机上运行。我更新了我的IBM JRE,我修改了我的eclipse.ini以更新-vm参数,使其指向新安装,并解决了问题。

#5


1  

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:

就我而言,上述解决方案均无效。我使用eclipse有两个不同的工作区,一个工作,秒有这个错误。我的解决方案是从工作工作区复制以下文件到损坏的文件:

[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.

我正在使用eclipse火星64位版本。因此,在您的整个工作区被破坏之前,这可能是一个从干净的安装到复制的解决方案。

#6


0  

exclude the error js files. it will definitely will work..

排除错误js文件。它肯定会起作用..

#7


0  

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.

我把我的Workspace放在Dropbox上。我发生了这个问题,并设法通过在[workspace] /。metadata /中搜索单词'conflicted'并删除Dropbox创建的所有这些文件来解决它。当我重新启动Eclipse时,错误消失了。