Bohdan Myslyvchuk
Bohdan Myslyvchuk

Reputation: 1817

js file in maven multi-module without any reason became with mistake

I have maven multi module project with spring and hibernate in eclipse. After some time one of files from folder WEB-INF/resources/js became with red icon with shows that there is some mistake. It wasn't first time of this situation. Previously I just delete project and download it from github. What is the reason? Maybe it is bug in eclipse. (no changes to this file wasn't added)

Upvotes: 0

Views: 33

Answers (1)

Jigar Joshi
Jigar Joshi

Reputation: 240928

This could happen because eclipse Javascript syntax check is configured to mark something as ERROR which is not that important for you

goto

windows > preference > JavaScript > validator > errors and warnings 

and tune this properly

Upvotes: 1

Related Questions