JS errors removed by ECLIPSE

Source: Internet
Author: User
Recently, a strange phenomenon occurred. a js file stayed well in an Eclipse project and suddenly created a new project to copy the JS file, eclipse prompts an error. I am very sensitive to eclipse errors and are determined to remove them.
After a careful check, we found that all system configurations, such as JS verification, have been disabled. This should not happen. It took a long time to complete the process.
Some people found that the following parts in the. project file were removed:
<Buildcommand>
<Name> org. Eclipse. WST. jsdt. Core. javascriptvalidator </Name>
<Arguments> </arguments>
</Buildcommand>
And
<Nature> org. Eclipse. WST. jsdt. Core. jsnature </nature> is fine, but I found that it is still unavailable. After deleting these two sentences, I refreshed the project and reported an error.
Therefore, the error JS file was deleted directly, and the error disappears. Then, copy the JS file that we just copied in. No error is reported. Done! To verify whether the configuration in the. Project File deleted above is valid, I added the two sentences in the. project file, deleted the JS file, and copied the JS file in. Eclipse still reported an error! It seems that these two statements are really useful! I am not very satisfied with the result. ArticlePeople give me a more accurate reason and solution!
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.