Lexical error at line 1, column 107. Encountered: "\uff0c" (65292), after : ""
问题:
查询数据突然返回以下异常信息
message: "org.springframework.web.util.NestedServletException: Handler dispatch failed;
nested exception is net.sf.jsqlparser.parser.TokenMgrError: Lexical error at line 1, column 107.Encountered: "\uff0c" (65292), after : """
原因:
动态拼装SQL语句多了个中文逗号,导致SQL无法正常解析
【Lexical error at line 1, column 107. Encountered: "\uff0c" (65292), after : ""】
文章图片
推荐阅读
- Node.js中readline模块实现终端输入
- gitlab|gitlab 通过备份还原 admin/runner 500 Internal Server Error
- 解决SyntaxError:|解决SyntaxError: invalid syntax
- 由Uncaught|由Uncaught TypeError: this.player.startMoveAt is not a function引申
- 打开Anaconda|打开Anaconda Navigator 时报错 error 5 拒绝访问
- mac升级之(xcrun:|mac升级之:xcrun: error: invalid active developer path, missing xcrun)
- kotlin|kotlin example
- Android|Android 进阶之旅 | android studio freeline的使用
- Python|Python TypeError: 'module' object is not callable 原因分析
- demo1:|demo1: Tensorflow实现Linear regression