Solve the Problem of jquery library or JS file errors in eclipse

Source: Internet
Author: User

Eclipse version: 3.5.1.r35x _ v20090910-9gEeG1_FthkNDSP2odXdThaOu9GFDPn83DGB7

There is always a Red Cross after the jquery-1.7.1 is imported in the project, although it will not affectProgramFunction, but it looks very uncomfortable, and when submitting a projectCodeThere was a prompt when I arrived at the svn server, and I was determined to remove the Red Cross. After searching on the Internet, the problem basically cannot be solved. Then, after trying various methods, we can find that the following method is feasible:

1. Right-click the project and select property.

2. Select validation in the pop-up interface.

3. Click settings of JavaScript syntax validator on the right.

4. Click Add exclude group in the pop-up window.

5. Add the jquery JS file to the exclude group and click OK.

6. Right-click the project and click Validate.

OK. The Red Cross disappears. Is it very comfortable.

Related Article

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.