After eclipse imports the Web project, the thread is suspended

Source: Internet
Author: User

After eclipse imports the Web project, the thread still exists after the shutdown occurs. Use Java Mission Control to see the Java Script indexing thread in running.

After you turn off JS authentication, the thread shuts down gracefully.

Http://www.jb51.net/article/46642.htm

The first step:
To remove the JS validation from eclipse:
Will Windows->preference->java script->validator->errors/warnings->
Enable Javascript sematic Validation in front of the hook removed;

Step Two:
Right click Project--Properties--Builders remove JavaScript Validator front tick
If there is no JavaScript validator this item in builders. Then go to the. project file to modify the following:
Locate the project directory and delete the following sections in the. project file in the projects directory:
<buildCommand>
<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
<arguments></arguments>
</buildCommand>
and <nature>org.eclipse.wst.jsdt.core.jsNature</nature>
Note that modifying the. project file may require you to restart Eclipse, or close the project in Eclipse, and then reopen the project.

Step Three:
Copy the JS file to a place, and then delete the error JS file directly from eclipse, the mistake disappears, and then the
A JS file to copy in.

(I was after three steps, all JS deleted, restart Eclipse, and then from SVN, JS again pulled down)

After eclipse imports the Web project, the thread is suspended

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.