Question

Sometimes I see error markers (red X icon) near some files in Eclipse package explorer, but can't find any corresponding error neither in the file itself, nor in the problems view.

I there any common way to see what Eclipse thinks is an error for specific file with marker?

Was it helpful?

Solution

It could be many things, but is usually either compilation problems or Validaton issues (xml, jsp validation etc.)

Check the Problems tab to see if you get any tip. Check also build path page in Project Preferences to see if there is any compilation issue.

OTHER TIPS

Check the project properties. A missing JAR might be causing the problem, or any other issues on the classpath.

Right click the project, Properties, Java Build Path. Check if there are errors there.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top