After importing project in Eclipse JS Error resolution method (GO)

Source: Internet
Author: User

This article transferred from: http://blog.csdn.net/chenchunlin526/article/details/54666882

Causes and solutions of JS error after importing project in eclipse

After we have imported the project into eclipse, we have configured various compilation conditions, loaded the jar package, configured Tomcat to find the project or the error, ( as long as the project itself is not wrong, but when we first imported into eclipse when the error), What is the cause of that?

The error is as follows:

The reason is that the JS check function of Eclipse is caused!

First, the simple solution is: JS file right-click Validate

Manually perform JS check, JS file right-click Validate. This can eliminate the single JS error message .

Second, the permanent solution is: The shutdown of the Eclipse JS checksum function.

Step: "Window"---"Preferences"---"JavaScript"---"Validator"---"errors/warnings"

Remove check check.

After the check off, if you need to verify the JS file, the Manual Check (JS file Right-click Validate can).

Finally refresh the project:

There is no error after the refresh!

After importing project in Eclipse JS Error resolution method (GO)

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.