解决方法:
选中报错的js文件,
右键选择 MyEclipse-->Exclude From Validation ;
然后继续右键执行MyEclipse-->Run Validation ;
报错的原因是什么呢?