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

How to deal with jquery error in eclipse

coldplay.xixi
Release: 2023-01-04 09:38:08
Original
2235 people have browsed it

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

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!

Related labels:
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