After we import the project into eclipse, after configuring various compilation conditions, loading jar packages and configuring tomcat, we find that the project still reports an error (provided that there is no error in the project itself, but we report an error when we import it into eclipse for the first time). What is the reason?
Errors are reported as follows:
The reason is caused by the JS verification function of eclipse
1、 The simple solution is: right click the JS file validate
Manually perform JS verification, and right-click the JS file to validate. This can eliminate the error prompt of a single JS
2、 The permanent solution is to turn off the JS verification function of eclipse
Steps: [window] – [preferences] – [JavaScript] – [validator] – [errors/warnings]
Remove the check mark of verification
After the verification is closed, if the JS file needs to be verified, perform manual verification (right click validate on the JS file)
Last refresh item:
There are no errors after refreshing
Similar Posts:
- The solution of “unsupported major. Minor version 52” in Java project compilation
- Python learning notes – Import utils error
- How to Solve the error in JSON file of eclipse
- Can read property ‘indexof’ of undefined
- How to Solve Error: The project description file (.project) for i…
- Invalid project name: Project “XXX” already exists
- Cannot change version of project facet Dynamic Web Module to 2.5.
- Server SSL certificate verification failed: certificate has expired, issuer is not trusted