Many of the solutions that jquery-xxx.js the error in eclipse on the internet are mostly said to right click properties->validation->jsp Content Validator this item ... button, then click Add Exclude group-> at Exclude Group Point add rule->folder or file name and then select the Jquery-xxxx.js file. I tried, or the error is reported red. It was later found that there was a more effective method, as follows
I have found, I can leave the JavaScript Validator enable and ignore specific files by adding a suitable exclusion pat Tern e.g **/jquery*.js to the Javascript/include path/source/excluded group (project->properties->javascript- >include Path->source). I found that I also needed to manually delete the old problem markers.
Excerpted from HTTPS://BUGS.ECLIPSE.ORG/BUGS/SHOW_BUG.CGI?ID=349020#C15
It's just a translation.
Project Right-click Properties->javascript->include path->source
Then click on your project name under the WebApp Exclude: (None) Click Edit
Add the **/jquery*.js rule into the exclude.
Just save it.
Then the jquery-xxx.js inside cut to save, let the error disappear, and then paste back, save
jquery Error in Eclipse