今天引入jQuery3.3.1报错
jQuery Syntax error on token "catch", Identifier expected
查询一下找到解决方法如下:

1、选中jQuery报错的web工程;
2、右键-->Myeclipse-->Exclude From Validation,选中;
3、继续右键Myeclipse-->Run Validation。
通过以上3步,问题就解决了,报错消失,如图

今天引入jQuery3.3.1报错
jQuery Syntax error on token "catch", Identifier expected
查询一下找到解决方法如下:
1、选中jQuery报错的web工程;
2、右键-->Myeclipse-->Exclude From Validation,选中;
3、继续右键Myeclipse-->Run Validation。
通过以上3步,问题就解决了,报错消失,如图
本文标题:引入Jquery报错问题
本文链接:https://www.haomeiwen.com/subject/ovyvpftx.html
网友评论