
出现这种错误表面mybatis配置文件中sql查询语句中出现了中文字符,需要将对应的中文字符修改为英文。
ERROR 10500 --- [nio-8081-exec-8] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.builder.BuilderException: Error evaluating expression 'pay != null'. Cause: org.apache.ibatis.ognl.ExpressionSyntaxException: Malformed OGNL expression: pay != null [org.apache.ibatis.ognl.TokenMgrError: Lexical error at line 1, column 5. Encountered: "\uff01" (65281), after : ""]] with root cause
本文解析了一个关于MyBatis配置文件中SQL查询语句出现中文字符导致的错误,指出需要将中文字符修改为英文字符以解决此问题。
2679

被折叠的 条评论
为什么被折叠?



