Look for error message causing red marker in Eclipse?
-
28-05-2021 - |
سؤال
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?
المحلول
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.
نصائح أخرى
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.