报错信息
nested exception is org.apache.ibatis.builder.BuilderException: Error evaluating expression ‘userId != null and’. Cause: org.apache.ibatis.ognl.ExpressionSyntaxException: Malformed OGNL expression: userId != null and [org.apache.ibatis.ognl.ParseException: Encountered “<EOF>” at line 1, column 18.


根据报错信息去找,多了and,删掉就行。。。。

仔细点吧。。害。。
本文介绍了一个具体的MyBatis使用过程中遇到的表达式语法错误案例,并给出了明确的解决方案。错误信息提示为多余的'and'关键字导致的OGNL表达式格式不正确。
2002

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



