Question

Neither Eclipse nor IBM RAD 8 work. When these IDE validate Java, they report false errors which blocks the build. Evidence:

enter image description here

Even though I comment out the code it is reporting an error. I do clean, I do build, I make a completely new project from scratch, I switch between Eclipse and IBM RAD 8 and they couldn't even get code validation to work in these IDE:s. When I delete the code part it complains about, the IDe finds the code that it says is not there so the report is self-contradictory.

Était-ce utile?

La solution

Normally you should not share workspaces between Eclipse variants. The .project configuration file is not designed for that.

Unzip a fresh Eclipse, make a fresh workspace and reimport your sources from your source repository. If that works, drop your current, faulty workspace.

Autres conseils

Try hitting Project -> Clean and see if it solves the problem :)

It looks like you managed to somehow make the Eclipse Java builder not work anymore. There are lots of reasons like a defective .project file, badly behaving other plugins installed, the builder being disabled in the project configuration.

Instead of checking all those, go with the suggestion of Thorbjørn and re-install Eclipse and checkout your code into a new workspace.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top