当前位置: 首页 > 工具软件 > Lexical > 使用案例 >

Malformed OGNL expression: wxUnionid=null [org.apache.ibatis.ognl.TokenMgrError: Lexical error at

盛承
2023-12-01

前言

mybatis进行保存时,报错


错误信息

org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.builder.BuilderException: Error evaluating expression 'wxUnionid !=null'. Cause: org.apache.ibatis.ognl.ExpressionSyntaxException: Malformed OGNL expression: wxUnionid !=null [org.apache.ibatis.ognl.TokenMgrError: Lexical error at line 1, column 11.  Encountered: "\uff01" (65281), after : ""]
	at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:77)
	at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:446)
	at com.sun.proxy.$Proxy84.insert(Unknown Source)
	at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:278)
	at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:57)
	at org.apach
 类似资料: