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

jQuery file error under Eclipse appears with red cross error_jquery

WBOY
Release: 2016-05-16 17:03:59
Original
1676 people have browsed it

When using Eclipse 3.7, I added the jquery.xx.js file to the project and found that an error message (red It's because Eclipse 3.7 added the JS verification framework org.eclipse.wst.jsdt.core.javascriptValidator in the .project configuration file. After joining this framework, if the js file writing rules do not comply with the specifications, an error will be reported. But the project can still run normally. So I thought about deleting it in order to prevent the error message from affecting my mood. The project can also operate normally.

The operation is as follows:
In the root directory of the project, find the .project file, open it with a file editor, and set the value under the node to org.eclipse.wst.jsdt. Delete the of core.javascriptValidator, and then delete the whose value is org.eclipse.wst.jsdt.core.jsNature under the node. As shown in the picture: (green part)

jQuery file error under Eclipse appears with red cross error_jquery

After deleting, save the file. When I returned to Eclipse, I still found an error. I selected all the contents of the file, cut it, saved it, pasted it, and saved it. You can clear the error message.

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