报错 ——Error evaluating expression 'id != null id > 0'.

Exception in thread "main" org.apache.ibatis.exceptions.PersistenceException:
### Error querying database. Cause: org.apache.ibatis.builder.BuilderException: Error evaluating expression 'id != null id > 0'. Cause: org.apache.ibatis.ognl.ExpressionSyntaxException: Malformed OGNL expression: id != null id > 0 [org.apache.ibatis.ognl.ParseException: Encountered " <IDENT> "id "" at line 1, column 12.
Was expecting one of:
<EOF>
"," ...
"=" ...
"?" ...
"||" ...
"or" ...
"&&" ...
"and" ...
"|" ...
"bor" ...
"^" ...
"xor" ...

 

标点符号 英文!写成中文!导致报错

注意不要出现中文字符

猜你喜欢

转载自www.cnblogs.com/caoxinfang/p/12657262.html