jquery Multiple markers at this line问题

来源:互联网 发布:男用什么护肤品知乎 编辑:程序博客网 时间:2024/06/06 16:09

环境

Windows7 
MyEclipse 10破解版

问题

还是之前的项目,发现导入进去之后几乎所有的.js文件都飘红,例如: 
jquery.min.js 
jquery.1.11.1.js 
等等 
显示的错误为: 
Multiple markers at this line 
- The left-hand side of an assignment must be a 
variable 
- Type mismatch: cannot convert from any[] to any 
- Type mismatch: cannot convert from any[] to any 
- Type mismatch: cannot convert from any[] to any 
- Missing semicolon 
- Missing semicolon 
- Missing semicolon 
- Missing semicolon 
- Syntax error on token “}”, delete this token 
- Missing semicolon 
- Missing semicolon 
- Missing semicolon 
- Missing semicolon 
- Missing semicolon 
- Missing semicolon 
- Missing semicolon 
- Missing semicolon 
- Missing semicolon 
- Missing semicolon 
- Missing semicolon 
- Missing semicolon

解决

MyEclipse还没有对其进行验证,解决办法:


选中js文件-》右键-》MyEclipse-》Manager Validation->ExcludeResource->选中全部或者那个js-》结束

原创粉丝点击