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