stephensuxun commented on issue #11293:
URL: 
https://github.com/apache/shardingsphere/issues/11293#issuecomment-878731765


   Now using the 5.0.0 version of sparing JDBC can be started, but when using 
mybatis plus to write data, an error is reported
   
   
   
   2021-07-13 10:31:03.110 ERROR 3008 --- [nio-7091-exec-7] 
c.a.c.u.c.exception.AppExceptionHandler  : 抛出异常 ERROR ======> 
   
   org.mybatis.spring.MyBatisSystemException: nested exception is 
org.apache.ibatis.exceptions.PersistenceException: 
   ### Error querying database.  Cause: groovy.lang.MissingMethodException: No 
signature of method: java.lang.String.mod() is applicable for argument types: 
(java.lang.Integer) values: [2]
   Possible solutions: drop(int), find(), any(), find(java.lang.CharSequence), 
any(groovy.lang.Closure), find(groovy.lang.Closure)
   ### The error may exist in 
com/ainewssystem/cloud/user/core/user/mapper/AiNewsUserMapper.java (best guess)
   ### The error may involve defaultParameterMap
   ### The error occurred while setting parameters
   ### SQL: SELECT 
user_id,user_account,user_name,nick_name,user_password,user_header_portrait,user_email,user_used_amount
 AS 
usedAmount,user_total_usage,user_salt,user_secret,user_status,user_type,is_authentication,user_grade,user_point,user_create_amount,user_collect_amount,expiration_date,create_time,update_time,token,version,deleted
 FROM ainews_user WHERE user_id=?  AND deleted=0
   ### Cause: groovy.lang.MissingMethodException: No signature of method: 
java.lang.String.mod() is applicable for argument types: (java.lang.Integer) 
values: [2]
   Possible solutions: drop(int), find(), any(), find(java.lang.CharSequence), 
any(groovy.lang.Closure), find(groovy.lang.Closure)
        at 
org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:96)
 ~[mybatis-spring-2.0.6.jar:2.0.6]
        at 
org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:441)
 ~[mybatis-spring-2.0.6.jar:2.0.6]
        at com.sun.proxy.$Proxy213.selectOne(Unknown Source) ~[na:na]
        at 
org.mybatis.spring.SqlSessionTemplate.selectOne(SqlSessionTemplate.java:160) 
~[mybatis-spring-2.0.6.jar:2.0.6]
        at 
com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:89)
 ~[mybatis-plus-core-3.4.3.jar:3.4.3]
        at 
com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148)
 ~[mybatis-plus-core-3.4.3.jar:3.4.3]
        at 
com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89)
 ~[mybatis-plus-core-3.4.3.jar:3.4.3]
        at com.sun.proxy.$Proxy221.selectById(Unknown Source) ~[na:na]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
~[na:1.8.0_211]
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
~[na:1.8.0_211]
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[na:1.8.0_211]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_211]
        at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
 ~[spring-aop-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
 ~[spring-aop-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
 ~[spring-aop-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at 
org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139)
 ~[spring-tx-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
 ~[spring-aop-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
 ~[spring-aop-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at com.sun.proxy.$Proxy222.selectById(Unknown Source) ~[na:na]
        at 
com.ainewssystem.cloud.user.core.user.service.AiNewsUserService.updateUserSecret(AiNewsUserService.java:179)
 ~[classes/:na]
        at 
com.ainewssystem.cloud.user.core.user.service.AiNewsUserService.userRegistration(AiNewsUserService.java:90)
 ~[classes/:na]
        at 
com.ainewssystem.cloud.user.core.user.controller.UserController.userRegistration(UserController.java:43)
 ~[classes/:na]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
~[na:1.8.0_211]
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
~[na:1.8.0_211]
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[na:1.8.0_211]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_211]
        at 
org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190)
 ~[spring-web-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at 
org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)
 ~[spring-web-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at 
org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105)
 ~[spring-webmvc-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at 
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:878)
 ~[spring-webmvc-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at 
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:792)
 ~[spring-webmvc-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at 
org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
 ~[spring-webmvc-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040)
 ~[spring-webmvc-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943)
 ~[spring-webmvc-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
 [spring-webmvc-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at 
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909)
 [spring-webmvc-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:652) 
[tomcat-embed-core-9.0.38.jar:4.0.FR]
        at 
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
 [spring-webmvc-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) 
[tomcat-embed-core-9.0.38.jar:4.0.FR]
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
 [tomcat-embed-core-9.0.38.jar:9.0.38]
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
 [tomcat-embed-core-9.0.38.jar:9.0.38]
        at 
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) 
[tomcat-embed-websocket-9.0.38.jar:9.0.38]
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
 [tomcat-embed-core-9.0.38.jar:9.0.38]
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
 [tomcat-embed-core-9.0.38.jar:9.0.38]
        at 
org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
 [spring-web-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
 [spring-web-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
 [tomcat-embed-core-9.0.38.jar:9.0.38]
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
 [tomcat-embed-core-9.0.38.jar:9.0.38]
        at 
org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
 [spring-web-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
 [spring-web-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
 [tomcat-embed-core-9.0.38.jar:9.0.38]
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
 [tomcat-embed-core-9.0.38.jar:9.0.38]
        at 
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
 [spring-web-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
 [spring-web-5.2.9.RELEASE.jar:5.2.9.RELEASE]
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
 [tomcat-embed-core-9.0.38.jar:9.0.38]
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
 [tomcat-embed-core-9.0.38.jar:9.0.38]
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
 [tomcat-embed-core-9.0.38.jar:9.0.38]
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
 [tomcat-embed-core-9.0.38.jar:9.0.38]
        at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
 [tomcat-embed-core-9.0.38.jar:9.0.38]
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) 
[tomcat-embed-core-9.0.38.jar:9.0.38]
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) 
[tomcat-embed-core-9.0.38.jar:9.0.38]
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
 [tomcat-embed-core-9.0.38.jar:9.0.38]
        at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) 
[tomcat-embed-core-9.0.38.jar:9.0.38]
        at 
org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374) 
[tomcat-embed-core-9.0.38.jar:9.0.38]
        at 
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
 [tomcat-embed-core-9.0.38.jar:9.0.38]
        at 
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
 [tomcat-embed-core-9.0.38.jar:9.0.38]
        at 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590)
 [tomcat-embed-core-9.0.38.jar:9.0.38]
        at 
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) 
[tomcat-embed-core-9.0.38.jar:9.0.38]
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
[na:1.8.0_211]
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
[na:1.8.0_211]
        at 
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
 [tomcat-embed-core-9.0.38.jar:9.0.38]
        at java.lang.Thread.run(Thread.java:748) [na:1.8.0_211]
   Caused by: org.apache.ibatis.exceptions.PersistenceException: 
   ### Error querying database.  Cause: groovy.lang.MissingMethodException: No 
signature of method: java.lang.String.mod() is applicable for argument types: 
(java.lang.Integer) values: [2]
   Possible solutions: drop(int), find(), any(), find(java.lang.CharSequence), 
any(groovy.lang.Closure), find(groovy.lang.Closure)
   ### The error may exist in 
com/ainewssystem/cloud/user/core/user/mapper/AiNewsUserMapper.java (best guess)
   ### The error may involve defaultParameterMap
   ### The error occurred while setting parameters
   ### SQL: SELECT 
user_id,user_account,user_name,nick_name,user_password,user_header_portrait,user_email,user_used_amount
 AS 
usedAmount,user_total_usage,user_salt,user_secret,user_status,user_type,is_authentication,user_grade,user_point,user_create_amount,user_collect_amount,expiration_date,create_time,update_time,token,version,deleted
 FROM ainews_user WHERE user_id=?  AND deleted=0
   ### Cause: groovy.lang.MissingMethodException: No signature of method: 
java.lang.String.mod() is applicable for argument types: (java.lang.Integer) 
values: [2]
   Possible solutions: drop(int), find(), any(), find(java.lang.CharSequence), 
any(groovy.lang.Closure), find(groovy.lang.Closure)
        at 
org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30)
 ~[mybatis-3.5.7.jar:3.5.7]
        at 
org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:153)
 ~[mybatis-3.5.7.jar:3.5.7]
        at 
org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
 ~[mybatis-3.5.7.jar:3.5.7]
        at 
org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
 ~[mybatis-3.5.7.jar:3.5.7]
        at 
org.apache.ibatis.session.defaults.DefaultSqlSession.selectOne(DefaultSqlSession.java:76)
 ~[mybatis-3.5.7.jar:3.5.7]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
~[na:1.8.0_211]
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
~[na:1.8.0_211]
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[na:1.8.0_211]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_211]
        at 
org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427)
 ~[mybatis-spring-2.0.6.jar:2.0.6]
        ... 70 common frames omitted
   Caused by: groovy.lang.MissingMethodException: No signature of method: 
java.lang.String.mod() is applicable for argument types: (java.lang.Integer) 
values: [2]
   Possible solutions: drop(int), find(), any(), find(java.lang.CharSequence), 
any(groovy.lang.Closure), find(groovy.lang.Closure)
        at 
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:71)
 ~[groovy-2.4.19-indy.jar:2.4.19]
        at 
org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:48)
 ~[groovy-2.4.19-indy.jar:2.4.19]
        at 
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
 ~[groovy-2.4.19-indy.jar:2.4.19]
        at 
org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:58)
 ~[groovy-2.4.19-indy.jar:2.4.19]
        at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:128)
 ~[groovy-2.4.19-indy.jar:2.4.19]
        at Script4$_run_closure1.doCall(Script4.groovy:1) ~[na:na]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
~[na:1.8.0_211]
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
~[na:1.8.0_211]
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[na:1.8.0_211]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_211]
        at 
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98) 
~[groovy-2.4.19-indy.jar:2.4.19]
        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325) 
~[groovy-2.4.19-indy.jar:2.4.19]
        at 
org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264)
 ~[groovy-2.4.19-indy.jar:2.4.19]
        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034) 
~[groovy-2.4.19-indy.jar:2.4.19]
        at groovy.lang.Closure.call(Closure.java:420) 
~[groovy-2.4.19-indy.jar:2.4.19]
        at groovy.lang.Closure.call(Closure.java:414) 
~[groovy-2.4.19-indy.jar:2.4.19]
        at 
org.apache.shardingsphere.sharding.algorithm.sharding.inline.InlineShardingAlgorithm.doSharding(InlineShardingAlgorithm.java:69)
 ~[shardingsphere-sharding-core-5.0.0-beta.jar:5.0.0-beta]
        at 
org.apache.shardingsphere.sharding.route.strategy.type.standard.StandardShardingStrategy.doSharding(StandardShardingStrategy.java:68)
 ~[shardingsphere-sharding-core-5.0.0-beta.jar:5.0.0-beta]
        at 
org.apache.shardingsphere.sharding.route.strategy.type.standard.StandardShardingStrategy.doSharding(StandardShardingStrategy.java:57)
 ~[shardingsphere-sharding-core-5.0.0-beta.jar:5.0.0-beta]
        at 
org.apache.shardingsphere.sharding.route.engine.type.standard.ShardingStandardRoutingEngine.routeDataSources(ShardingStandardRoutingEngine.java:203)
 ~[shardingsphere-sharding-core-5.0.0-beta.jar:5.0.0-beta]
        at 
org.apache.shardingsphere.sharding.route.engine.type.standard.ShardingStandardRoutingEngine.route0(ShardingStandardRoutingEngine.java:191)
 ~[shardingsphere-sharding-core-5.0.0-beta.jar:5.0.0-beta]
        at 
org.apache.shardingsphere.sharding.route.engine.type.standard.ShardingStandardRoutingEngine.routeByShardingConditionsWithCondition(ShardingStandardRoutingEngine.java:114)
 ~[shardingsphere-sharding-core-5.0.0-beta.jar:5.0.0-beta]
        at 
org.apache.shardingsphere.sharding.route.engine.type.standard.ShardingStandardRoutingEngine.routeByShardingConditions(ShardingStandardRoutingEngine.java:107)
 ~[shardingsphere-sharding-core-5.0.0-beta.jar:5.0.0-beta]
        at 
org.apache.shardingsphere.sharding.route.engine.type.standard.ShardingStandardRoutingEngine.getDataNodes(ShardingStandardRoutingEngine.java:84)
 ~[shardingsphere-sharding-core-5.0.0-beta.jar:5.0.0-beta]
        at 
org.apache.shardingsphere.sharding.route.engine.type.standard.ShardingStandardRoutingEngine.route(ShardingStandardRoutingEngine.java:69)
 ~[shardingsphere-sharding-core-5.0.0-beta.jar:5.0.0-beta]
        at 
org.apache.shardingsphere.sharding.route.engine.ShardingSQLRouter.createRouteContext(ShardingSQLRouter.java:61)
 ~[shardingsphere-sharding-core-5.0.0-beta.jar:5.0.0-beta]
        at 
org.apache.shardingsphere.sharding.route.engine.ShardingSQLRouter.createRouteContext(ShardingSQLRouter.java:47)
 ~[shardingsphere-sharding-core-5.0.0-beta.jar:5.0.0-beta]
        at 
org.apache.shardingsphere.infra.route.engine.impl.PartialSQLRouteExecutor.route(PartialSQLRouteExecutor.java:62)
 ~[shardingsphere-infra-route-5.0.0-beta.jar:5.0.0-beta]
        at 
org.apache.shardingsphere.infra.route.engine.SQLRouteEngine.route(SQLRouteEngine.java:52)
 ~[shardingsphere-infra-route-5.0.0-beta.jar:5.0.0-beta]
        at 
org.apache.shardingsphere.infra.context.kernel.KernelProcessor.route(KernelProcessor.java:54)
 ~[shardingsphere-infra-context-5.0.0-beta.jar:5.0.0-beta]
        at 
org.apache.shardingsphere.infra.context.kernel.KernelProcessor.generateExecutionContext(KernelProcessor.java:46)
 ~[shardingsphere-infra-context-5.0.0-beta.jar:5.0.0-beta]
        at 
org.apache.shardingsphere.driver.jdbc.core.statement.ShardingSpherePreparedStatement.createExecutionContext(ShardingSpherePreparedStatement.java:363)
 ~[shardingsphere-jdbc-core-5.0.0-beta.jar:5.0.0-beta]
        at 
org.apache.shardingsphere.driver.jdbc.core.statement.ShardingSpherePreparedStatement.execute(ShardingSpherePreparedStatement.java:271)
 ~[shardingsphere-jdbc-core-5.0.0-beta.jar:5.0.0-beta]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
~[na:1.8.0_211]
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
~[na:1.8.0_211]
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[na:1.8.0_211]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_211]
        at 
org.apache.ibatis.logging.jdbc.PreparedStatementLogger.invoke(PreparedStatementLogger.java:59)
 ~[mybatis-3.5.7.jar:3.5.7]
        at com.sun.proxy.$Proxy249.execute(Unknown Source) ~[na:na]
        at 
org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:64)
 ~[mybatis-3.5.7.jar:3.5.7]
        at 
org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:79)
 ~[mybatis-3.5.7.jar:3.5.7]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
~[na:1.8.0_211]
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
~[na:1.8.0_211]
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[na:1.8.0_211]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_211]
        at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:64) 
~[mybatis-3.5.7.jar:3.5.7]
        at com.sun.proxy.$Proxy247.query(Unknown Source) ~[na:na]
        at 
org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:63) 
~[mybatis-3.5.7.jar:3.5.7]
        at 
org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325)
 ~[mybatis-3.5.7.jar:3.5.7]
        at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156) 
~[mybatis-3.5.7.jar:3.5.7]
        at 
com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:81)
 ~[mybatis-plus-extension-3.4.3.jar:3.4.3]
        at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62) 
~[mybatis-3.5.7.jar:3.5.7]
        at com.sun.proxy.$Proxy246.query(Unknown Source) ~[na:na]
        at 
org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
 ~[mybatis-3.5.7.jar:3.5.7]
        ... 78 common frames omitted
   
   2021-07-13 10:31:03.114  WARN 3008 --- [nio-7091-exec-7] 
.m.m.a.ExceptionHandlerExceptionResolver : Resolved 
[org.mybatis.spring.MyBatisSystemException: nested exception is 
org.apache.ibatis.exceptions.PersistenceException: 
   ### Error querying database.  Cause: groovy.lang.MissingMethodException: No 
signature of method: java.lang.String.mod() is applicable for argument types: 
(java.lang.Integer) values: [2]
   Possible solutions: drop(int), find(), any(), find(java.lang.CharSequence), 
any(groovy.lang.Closure), find(groovy.lang.Closure)
   ### The error may exist in 
com/ainewssystem/cloud/user/core/user/mapper/AiNewsUserMapper.java (best guess)
   ### The error may involve defaultParameterMap
   ### The error occurred while setting parameters
   ### SQL: SELECT 
user_id,user_account,user_name,nick_name,user_password,user_header_portrait,user_email,user_used_amount
 AS 
usedAmount,user_total_usage,user_salt,user_secret,user_status,user_type,is_authentication,user_grade,user_point,user_create_amount,user_collect_amount,expiration_date,create_time,update_time,token,version,deleted
 FROM ainews_user WHERE user_id=?  AND deleted=0
   ### Cause: groovy.lang.MissingMethodException: No signature of method: 
java.lang.String.mod() is applicable for argument types: (java.lang.Integer) 
values: [2]
   Possible solutions: drop(int), find(), any(), find(java.lang.CharSequence), 
any(groovy.lang.Closure), find(groovy.lang.Closure)]


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to