Eclipse removed jquery introduction error, eclipsejquery introduced

Source: Internet
Author: User

Eclipse removed jquery introduction error, eclipsejquery introduced

When I was writing a Java project, there was always an error when jquery was introduced. Although there was no impact on the application of the method, I felt uncomfortable. The solution obtained by Baidu was as follows:

 

Step 1:
Remove JS verification from eclipse:
Choose windows> preference> Java Script> Validator> Errors/Warnings>
Enable Javascript Sematic validation;
Step 2:
Right-click the project and choose properties> Builders to remove the check mark before JavaScript Validator.
If no JavaScript Validator item exists in Builders. Modify the following content in the. project file:
Find the project directory and delete the following parts of the. project file in the project directory:
<BuildCommand>
<Name> org. eclipse. wst. jsdt. core. javascriptValidator </name>
<Arguments> </arguments>
</BuildCommand>
And <nature> org. eclipse. wst. jsdt. core. jsNature </nature>
Note: modifying the. project file may require you to restart eclipse, or close the project in eclipse, and then re-open the project.
Step 3:
Copy the js file to a certain place, and then delete the js file that reported the error from eclipse. The error disappears, and
Copy js files.
If it is not correct after the above steps, open the Problems view in Eclipse, select the relevant errors, and solve them as prompted.

 

Copy and http://www.jb51.net/article/46642.htm above

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.