Home  >  Article  >  Web Front-end  >  How to solve the error when Eclipse introduces jquery_jquery

How to solve the error when Eclipse introduces jquery_jquery

WBOY
WBOYOriginal
2016-05-16 15:28:371670browse

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>

andcb5dbc0d0d1b63ce6352c4650549d4cdorg.eclipse.wst.jsdt.core.jsNature717e52ff2d7b7bf13c531cbeb1df7542

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.

Statement:
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