富文本框 wangeditor 引入 jquery-1.10.1.min.js 时报错

 
在javaWeb 开发中我需要加入富文本框wangeditor,其中需要引入 jquery-1.10.1.min.js 。
导入到 Myeclipse后,就出现了红叉。 
红叉的提示信息如下:
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

出现原因:没有告诉 myeclipse 去验证引入的 js

解决方案:如下图所示:

 

右击 jquery-1.10.1.min.js --> MyEclipse
①先点击 Exclude From Validation ;
②再点击 Run Validation:随后弹框提示 no error ,说明问题已解决

wangeditor.min.js 的小红叉问题,解决方法同上

 

 
posted @ 2017-04-07 09:36  胡思  阅读(1381)  评论(0)    收藏  举报