I am trying to run a dynamic web project using maven and spring. I have a code which uses the jquery-1.7.1.min.js. But i see compile errors in the file. The following is the screen shot of the errors.
Did any one got this same problem ever or know how to fix it

Thanks
From http://imwill.com/eclipse-java-ee-jquery-validation-error-workaround/#.UK7jAOOe-I5
Workaround –
How to fix To get rid of the annoying Error symbol do the following:
1) Right click your Project root folder in your Eclipse Project Explorer View
2) Go to Properties -> JavaScript -> Include Path -> Source Tab
3) Select Excluded and Edit… and then Add..
4) Now you can either browse for JavaScript file which has errors or just enter a wildcard pattern which will exclude anything matched by your pattern. In my case i entered **/jquery*.js to exclude all jQuery library files.
5) Then you can hit OK, Finish and OK again
6)Your Eclipse Progress View should now show a Building Workspace message
7)Tada! The Error Symbol is gone!
In addition to above steps I had to manually delete the old problem markers.