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)