js file import eclipse projects being given a red cross

solve:

eclipse project import js error problem

js eclipse occurs in a given project file (red cross) after importing the project, as shown below, sometimes given many files, need to focus.

Solution : Right project name "Properties" JavaScript "Include Path, on the right select" Source "tab,

Then the selection item "Excluded" branch of the right click on the "Edit", as shown below:

In the pop-up "Inclusion and Exclusion Patterns" in "Exclusion patterns" section, click on the right side of the "Add Multiple"

After selecting the entire folder to JS, as shown below, save and exit.

 

problem solved.

Guess you like

Origin www.cnblogs.com/txf0324/p/11008263.html