Home > Web Front-end > JS Tutorial > body text

How to solve the error when Eclipse introduces jquery_jquery

WBOY
Release: 2016-05-16 15:28:37
Original
1705 people have browsed it

The following is the entire description brought to you by the editor on how to solve the error when introducing jquery into Eclipse. The specific content is as follows:

Step one:

Remove eclipse’s JS verification:

Change windows->preference->Java Script->Validator->Errors/Warnings->

Remove the check mark in front of Enable Javascript Sematic validation;

Step 2:

Right-click the project -> properties -> Builders and uncheck JavaScript Validator if there is no JavaScript Validator item in Builders. Then go to the .project file and modify the following content:

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>
Copy after login

andorg.eclipse.wst.jsdt.core.jsNature

Note that modifying the .project file may require restarting eclipse, or closing the project in eclipse and then reopening the project.

Step 3:

Copy the js file somewhere, then delete the js file that reported the error directly from eclipse, the error disappears, and then copy in the js file just now.

If it still doesn’t work after doing the above, open the Problems view in Eclipse, select the relevant error, and solve it according to the prompts.

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template