Workaround – How to fix
- Right click your Project root folder in your Eclipse Project Explorer View
- Select Excluded and Edit… and then Add..
- Then you can hit OK, Finish and OK again
- Your Eclipse Progress View should now show a Building Workspace message
- Tada! The Error Symbol is gone!
So what did Eclipse do for us?
It added a file named .jsdtscope to the .settings folder. This might be faster for console lovers among us.
Content of the .jsdtscope file
<?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry excluding="**/jquery*.js|WebContent/js/jquery-1.7.2.min.js" kind="src" path=""/> <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/> <classpathentry kind="output" path=""/> </classpath>
Still the same behaviour for the Eclipse 4.2 Helios or 4.3 Kepler and the latest jQuery version.