jquery Error in Eclipse

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.