lisa
lisa

Reputation: 461

Errors running builder 'Java Builder '

Has anyone run into this issue and if so how do you fix it? This has been plaguing me for a while now.

Here is the full error:

enter image description here

I don't understand the problem. Please help me.

I found an issue thanks @alfasin!!!:
I re-installed eclipse in a new folder and import my projects in this new Eclipse and everything is allright :)

Upvotes: 26

Views: 136262

Answers (9)

subhashis
subhashis

Reputation: 4888

In my case it happens because of Lombok, so fix the issue.

Upvotes: -1

Vikcen
Vikcen

Reputation: 183

In my case this line on SpringToolSuite4.ini produced that error when i tried to do Clean on my project:

-Xbootclasspath/a:lombok.jar

Solution for me: i deleted that line.

Upvotes: 2

Rodrigo López
Rodrigo López

Reputation: 4259

I faced a similar issue when I updated my STS4 version while using old lombok jar version. My problem was solved by updating lombok version to its latest.

Upvotes: 0

Prasang Ramnani
Prasang Ramnani

Reputation: 11

While creating the java project on field -use an execution environment select javaSE-1.8 then it will run

Upvotes: 1

keith.g
keith.g

Reputation: 940

I resolved this by reverting the .cproject file in my project folder to an older version (which was created when I setup the project for the first time)

Upvotes: 0

rohit verma
rohit verma

Reputation: 231

This kind of problem is very rare but we have the solution, If you are using gradle or maven then first close your project and delete from eclipse (remember don't delete from disk), then delete the files and directories from your project:

  1. .settings/
  2. .project
  3. .classpath
  4. .gradle/

then reimport the project in eclipse and you are done. you will no longer face the error like "Errors running builder 'Java Builder ' "

Cheers.............

Upvotes: 22

Umar Kayondo
Umar Kayondo

Reputation: 724

I solved my build error in eclipse juno by restoring my eclipse work space. Reason being, the .metadata was corrupted so whenever i could try to build the project it could sometimes fail. Therefore you have to backup yr projects in a folder outside the main work space then deleted the whole work space folder. Restart eclipse and create a new work space and import yr projects into yr new work space. Everything will work normally after that.

Thanks Umark

Upvotes: 0

Bilal Rabbani
Bilal Rabbani

Reputation: 1286

If it is an Android application then follow these steps;

  1. Right click your project
  2. Goto "Android tools"
  3. Fix Project Properties

Always work for me.

Upvotes: -1

Aaron Digulla
Aaron Digulla

Reputation: 328644

Your .metadata probably got corrupted.

See this blog post for instructions how to clean this up: http://blog.pdark.de/2011/09/02/restoring-a-corrupted-workspace-in-eclipse/

Upvotes: 6

Related Questions