Problem : Sometimes
Eclipse gives validation errors for already well tested third party javascript libraries
while you build your code.
Solution :
Step 1 :
Right
click on the project ->Properties->JavaScript->Include path.
Blog on Core Java and JEE for Java enthusiasts.