简体   繁体   中英

b0rked eclipse / IBM RAD

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

在此处输入图片说明

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.

尝试点击Project-> Clean,看看它是否解决了问题:)

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM