Problem : Sometimes
Eclipse gives validation errors for already well tested third party javascript libraries
while you build your code.
Solution :
Step 1 :
Step 2 :
Select
Excluded under Source tab by clicking on it.
Step 3 :
Click on
Edit… button.
Step 4 :
Click on “Add Multiple…” button in Exclusion pattern section
and select java script files which are giving errors and for which you don’t want validation to happen, from Your project’s folder.
Click ok.
Step 5 :
You will see all the selected scripts in
exclusion patterns as below .Click on Finish.
Step 6 :
Clean build the project again and your validation errors
will be gone.
Thanks.