原文: http://www.lai18.com/content/2474082.html
环境
Windows7
MyEclipse 2014破解版
问题
还是之前的项目,发现导入进去之后几乎所有的.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还没有对其进行验证,解决办法:
Created with Raphaël 2.1.0开始选中js文件右键MyEclipseManaValidationExcludeResource选中全部或者那个js结束OK
参考:
http://bbs.csdn.net/topics/390530826?page=1#post-395998937