Skip to content

Instantly share code, notes, and snippets.

@tanchao90
Created April 23, 2019 06:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tanchao90/154968c2604a1e42e7b648e16d6bb26f to your computer and use it in GitHub Desktop.
Save tanchao90/154968c2604a1e42e7b648e16d6bb26f to your computer and use it in GitHub Desktop.
MyBatis org.apache.ibatis.ognl.NoSuchPropertyException
MyBatis Version: 3.3.0
Exception Info:
exception: org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.builder.BuilderException: Error evaluating expression 'record.version != null'. Cause: org.apache.ibatis.ognl.NoSuchPropertyException: com.test.domain.domain.Po.version, dubbo version: 2.10.0.3, current host: 127.0.0.1 org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.builder.BuilderException: Error evaluating expression 'record.version != null'. Cause: org.apache.ibatis.ognl.NoSuchPropertyException: com.test.domain.domain.Po.version
at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:79)
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:447)
at com.sun.proxy.$Proxy100.update(Unknown Source)
at org.mybatis.spring.SqlSessionTemplate.update(SqlSessionTemplate.java:295)
at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:55)
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
at com.sun.proxy.$Proxy102.updateByExampleSelective(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.proxy.$Proxy102.updateByExampleSelective(Unknown Source)
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment