"AS" ..._caused by: net.sf.jsqlparser.parser.tokenmgrexception: lexical error ">
赞
踩
在使用Page分页时候,增加了几个字段,然后每次获取数据时,数据都可以正常获取和展示,但是后台就会报一些错误,错误如下:
net.sf.jsqlparser.parser.ParseException: Encountered " "." ". "" at line 4, column 220.
Was expecting one of:
<EOF>
"AS" ...
"DO" ...
"INTO" ...
"FROM" ...
...
经过排查,发现是由于使用的字段"current"导致的,本来这个字段是电流的,但是current是属于分页时的关键字,改为其它关键字即可。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。