Home > Back-end >  Mybatis exception - Java. Lang. IllegalArgumentException: invalid comparison: Java. Util. Date
Mybatis exception - Java. Lang. IllegalArgumentException: invalid comparison: Java. Util. Date

Time:09-24

How to solve this problem?
# # # Error querying the database. Cause: Java. Lang. IllegalArgumentException: invalid comparison: Java lang. String and Java. Util. Date
# # # Cause: Java. Lang. IllegalArgumentException: invalid comparison: Java lang. String and Java. Util. Date
Org. Mybatis. Spring. MyBatisSystemException: nested exception is org. Apache. Ibatis. Exceptions. PersistenceException:
# # # Error querying the database. Cause: Java. Lang. IllegalArgumentException: invalid comparison: Java lang. String and Java. Util. Date
# # # Cause: Java. Lang. IllegalArgumentException: invalid comparison: Java lang. String and Java. Util. Date
The at org. Mybatis. Spring. MyBatisExceptionTranslator. TranslateExceptionIfPossible (MyBatisExceptionTranslator. Java: 77)
The at org. Mybatis. Spring. SqlSessionTemplate $SqlSessionInterceptor. Invoke (SqlSessionTemplate. Java: 446)
At com. Sun. Proxy. $Proxy80. SelectList (Unknown Source)
The at org. Mybatis. Spring. SqlSessionTemplate. SelectList (SqlSessionTemplate. Java: 230)
The at org. Apache. Ibatis. Binding. MapperMethod. ExecuteForMany (MapperMethod. Java: 139)
The at org. Apache. Ibatis. Binding. MapperMethod. Execute (MapperMethod. Java: 76)
The at org. Apache. Ibatis. Binding. MapperProxy. Invoke (MapperProxy. Java: 59)
At com. Sun. Proxy. $Proxy676. SelectList (Unknown Source)
At com.cn.tianhui.sys.com, mon. System. BaseService. SelectList (BaseService. Java: 53)
At com.cn.tianhui.sys.com, mon. System. BaseService $$FastClassBySpringCGLIB $$34567 a3d. Invoke (& lt; Generated>)
The at org. Springframework. Additional. Proxy. MethodProxy. Invoke (MethodProxy. Java: 204)
The at org. Springframework. Aop. Framework. CglibAopProxy $DynamicAdvisedInterceptor. Intercept (CglibAopProxy. Java: 685)
At com. Cn. Tianhui. Poliy. Service. PoliyInfoService $$EnhancerBySpringCGLIB $$15632 d6d. SelectList (& lt; Generated>)
At com.cn.tianhui.sys.com, mon. System. BaseService $$FastClassBySpringCGLIB $$34567 a3d. Invoke (& lt; Generated>)
The at org. Springframework. Additional. Proxy. MethodProxy. Invoke (MethodProxy. Java: 204)
The at org. Springframework. Aop. Framework. CglibAopProxy $DynamicAdvisedInterceptor. Intercept (CglibAopProxy. Java: 685)
At com. Cn. Tianhui. Poliy. Service. PoliyInfoService $$EnhancerBySpringCGLIB $$2868 f89f selectList (& lt; Generated>)
At com. Cn. Tianhui. Poliy. Controller. PoliyInfoController. SelectProtocolAreaInfo (PoliyInfoController. Java: 216)
At com. Cn. Tianhui. Poliy. Controller. PoliyInfoController $$$$9 FastClassBySpringCGLIB a01ea30. Invoke (& lt; Generated>)
The at org. Springframework. Additional. Proxy. MethodProxy. Invoke (MethodProxy. Java: 204)
The at org. Springframework. Aop. Framework. CglibAopProxy $CglibMethodInvocation. InvokeJoinpoint (CglibAopProxy. Java: 747)
The at org. Springframework. Aop. Framework. ReflectiveMethodInvocation. Proceed (ReflectiveMethodInvocation. Java: 163)
The at org. Springframework. Transaction. The interceptor. TransactionAspectSupport. InvokeWithinTransaction (TransactionAspectSupport. Java: 294)
The at org. Springframework. Transaction. The interceptor. TransactionInterceptor. Invoke (TransactionInterceptor. Java: 98)
The at org. Springframework. Aop. Framework. ReflectiveMethodInvocation. Proceed (ReflectiveMethodInvocation. Java: 185)
The at org. Springframework. Aop. Framework. CglibAopProxy $DynamicAdvisedInterceptor. Intercept (CglibAopProxy. Java: 689)
At com. Cn. Tianhui. Poliy. Controller. PoliyInfoController $$EnhancerBySpringCGLIB $$444 bc183 selectProtocolAreaInfo (& lt; Generated>)
At com. Cn. Tianhui. Poliy. Controller. PoliyInfoController $$$$9 FastClassBySpringCGLIB a01ea30. Invoke (& lt; Generated>)
The at org. Springframework. Additional. Proxy. MethodProxy. Invoke (MethodProxy. Java: 204)
The at org. Springframework. Aop. Framework. CglibAopProxy $CglibMethodInvocation. InvokeJoinpoint (CglibAopProxy. Java: 747)
The at org. Springframework. Aop. Framework. ReflectiveMethodInvocation. Proceed (ReflectiveMethodInvocation. Java: 163)
The at org. Springframework. Transaction. The interceptor. TransactionAspectSupport. InvokeWithinTransaction (TransactionAspectSupport. Java: 294)
The at org. Springframework. Transaction. The interceptor. TransactionInterceptor. Invoke (TransactionInterceptor. Java: 98)
The at org. Springframework. Aop. Framework. ReflectiveMethodInvocation. Proceed (ReflectiveMethodInvocation. Java: 185)
The at org. Springframework. Aop. Framework. CglibAopProxy $DynamicAdvisedInterceptor. Intercept (CglibAopProxy. Java: 689)
At com. Cn. Tianhui. Poliy. Controller. PoliyInfoController $$EnhancerBySpringCGLIB $$87 bdd841 selectProtocolAreaInfo (& lt; Generated>)
At sun. Reflect. NativeMethodAccessorImpl. Invoke0 (Native Method)
At sun. Reflect. NativeMethodAccessorImpl. Invoke (NativeMethodAccessorImpl. Java: 62)
At sun. Reflect. DelegatingMethodAccessorImpl. Invoke (43) DelegatingMethodAccessorImpl. Java:
The at Java. Lang. Reflect. Method. Invoke (498) Method. The Java:
The at org. Springframework. Web. Method. Support. InvocableHandlerMethod. DoInvoke (InvocableHandlerMethod. Java: 209)
The at org. Springframework. Web. Method. Support. InvocableHandlerMethod. InvokeForRequest (InvocableHandlerMethod. Java: 136)
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related