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?

Était-ce utile?

La 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.

Autres conseils

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.

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