My project used to be fine - errors showed up in the file margin, the editor breadcrumb, the problems view and in the package explorer tree as little red X marks.
Somewhat spontaneously though, it's stopped working properly.
If I introduce an error into my code, it shows up in the file margin, and nowhere else. It takes a 'project clean' to make the red X's show up elsewhere.
Then if I fix the problem, the error is cleared from the file margin but the red marks persist elsewhere until I do another clean.
Why is it no longer showing errors properly in an automatic way?
I'm using Eclipse 3.5
You need to open the eclipse Markers view ( Window->Show View->Markers ), it will show all errors about your project, if you correct all the errors, your problem will most likely be solved.
From the main menu, select Window > Show view > Other. Then select General > Error Log. The error log is displayed, showing the following information for each error: The status of the error (for example, error or warning)
You could try holding down Ctrl + F7 to see a list of all views, then up/down arrow to the View. If Package Explorer is in the list it has been minimised or something. If you select it and still can't see it, try Window → Reset Perspective... to restore all views to their defaults.
Did you uncheck Build Automatically
?
I had a similar problem. I imported a project which also uses aspectj. compile errors were shown in the editors, but not in the package/navigator-explorers. And the project was marked as java-project, maven2 and aspectj.
Build path seemed ok.(jre was there, maven and aspectj.)
After long search i found that in the .project file the following entry was missing:
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
pasted that in and problem was solved!
Try fixing your build path, Java compiler, JRE first. If still no luck, You may want to take a look at project Properties-->Builders. Make sure "Java Builder" is there.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With