Home  >  Article  >  Web Front-end  >  How to deal with jquery error in eclipse

How to deal with jquery error in eclipse

coldplay.xixi
coldplay.xixiOriginal
2020-12-25 12:01:062232browse

Solution to jquery error in eclipse: 1. Remove the hook of eclipse related settings; 2. Find the [.project] file and delete the relevant parts; 3. Delete the original js file and need to copy it again. share.

How to deal with jquery error in eclipse

The operating environment of this tutorial: windows7 system, jquery3.2.1&&Eclipse IDE 2020 version, DELL G3 computer.

Recommended: jquery tutorial

Solution to jquery error in eclipse:

1. eclipse settings:

window->preference > Javascript > Validator > Enable Javascript Sematic validation in Errors/Warnings Remove the previous hook;

2. .project file: Delete the following part

[html]  view plain copy print ?
 
<buildCommand>     
    <name>org.eclipse.wst.jsdt.core.javascriptValidator</name>     
    <arguments>     
    </arguments>     
</buildCommand>

3. Delete the original js file and make a new copy! Because the previous copy has been incorrectly marked by the project

Related free learning recommendations: javascript (video)

The above is the detailed content of How to deal with jquery error in eclipse. For more information, please follow other related articles on the PHP Chinese website!

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