关注JEECG发展历程 关注最新动态和版本, 记录JEECG成长点滴 更新日志 - 技术支持 - 招聘英才

JEECG最新版本下载 JEECG智能开发平台 - 显著提高开发效率 常见问题 - 入门视频 - 参与开源团队

商务QQ: 69893005、418799587 商务热线(5*8小时): 010-64808099 官方邮箱: jeecgos@163.com

查看: 4881|回复: 2

【求助】登录失败,Mybatis异常

[复制链接]
发表于 2021-12-30 16:24:26 | 显示全部楼层 |阅读模式
版本:v3.0
问题:登录报错
报错截图:
  1. 2021-12-30 16:12:12.792 [http-nio-8080-exec-4] ERROR o.jeecg.common.exception.JeecgBootExceptionHandler:69 - nested exception is org.apache.ibatis.builder.BuilderException: Error evaluating expression 'ew.sqlSegment != null and ew.sqlSegment != '' and ew.nonEmptyOfNormal'. Cause: org.apache.ibatis.ognl.OgnlException: sqlSegment [java.lang.ExceptionInInitializerError]
  2. org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.builder.BuilderException: Error evaluating expression 'ew.sqlSegment != null and ew.sqlSegment != '' and ew.nonEmptyOfNormal'. Cause: org.apache.ibatis.ognl.OgnlException: sqlSegment [java.lang.ExceptionInInitializerError]
  3.         at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:96)
  4.         at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:441)
  5.         at jdk.proxy2/jdk.proxy2.$Proxy137.selectOne(Unknown Source)
  6.         at org.mybatis.spring.SqlSessionTemplate.selectOne(SqlSessionTemplate.java:160)
  7.         at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:89)
  8.         at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148)
  9.         at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89)
  10.         at jdk.proxy2/jdk.proxy2.$Proxy139.selectOne(Unknown Source)
  11.         at com.baomidou.mybatisplus.extension.service.impl.ServiceImpl.getOne(ServiceImpl.java:202)
  12.         at com.baomidou.mybatisplus.extension.service.IService.getOne(IService.java:229)
  13.         at com.baomidou.mybatisplus.extension.service.IService$FastClassBySpringCGLIB$f8525d18.invoke(<generated>)
  14.         at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
  15.         at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:687)
  16.         at org.jeecg.modules.system.service.impl.SysUserServiceImpl$EnhancerBySpringCGLIB$2599774e.getOne(<generated>)
  17.         at org.jeecg.modules.system.controller.LoginController.login(LoginController.java:94)
  18.         at org.jeecg.modules.system.controller.LoginController$FastClassBySpringCGLIB$b307ab61.invoke(<generated>)
  19.         at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
  20.         at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:771)
  21.         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  22.         at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)
  23.         at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88)
  24.         at org.jeecg.common.aspect.DictAspect.doAround(DictAspect.java:55)
  25.         at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  26.         at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  27.         at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  28.         at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  29.         at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644)
  30.         at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633)
  31.         at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70)
  32.         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
  33.         at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)
  34.         at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:95)
  35.         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
  36.         at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)
  37.         at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:691)
  38.         at org.jeecg.modules.system.controller.LoginController$EnhancerBySpringCGLIB$5b8807b2.login(<generated>)
  39.         at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  40.         at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  41.         at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  42.         at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  43.         at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190)
  44.         at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)
  45.         at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105)
  46.         at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:878)
  47.         at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:792)
  48.         at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
  49.         at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040)
  50.         at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943)
  51.         at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
  52.         at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909)
  53.         at javax.servlet.http.HttpServlet.service(HttpServlet.java:652)
  54.         at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
  55.         at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
  56.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
  57.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  58.         at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
  59.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  60.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  61.         at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)
  62.         at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
  63.         at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
  64.         at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
  65.         at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
  66.         at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
  67.         at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
  68.         at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
  69.         at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
  70.         at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:450)
  71.         at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
  72.         at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
  73.         at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
  74.         at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387)
  75.         at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
  76.         at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
  77.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  78.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  79.         at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:92)
  80.         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
  81.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  82.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  83.         at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:124)
  84.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  85.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  86.         at org.springframework.boot.actuate.web.trace.servlet.HttpTraceFilter.doFilterInternal(HttpTraceFilter.java:88)
  87.         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
  88.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  89.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  90.         at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
  91.         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
  92.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  93.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  94.         at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
  95.         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
  96.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  97.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  98.         at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:93)
  99.         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
  100.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  101.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  102.         at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
  103.         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
  104.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  105.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  106.         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
  107.         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
  108.         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)
  109.         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)
  110.         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
  111.         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
  112.         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
  113.         at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374)
  114.         at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
  115.         at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
  116.         at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590)
  117.         at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
  118.         at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
  119.         at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
  120.         at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
  121.         at java.base/java.lang.Thread.run(Thread.java:833)
  122. Caused by: org.apache.ibatis.builder.BuilderException: Error evaluating expression 'ew.sqlSegment != null and ew.sqlSegment != '' and ew.nonEmptyOfNormal'. Cause: org.apache.ibatis.ognl.OgnlException: sqlSegment [java.lang.ExceptionInInitializerError]
  123.         at org.apache.ibatis.scripting.xmltags.OgnlCache.getValue(OgnlCache.java:48)
  124.         at org.apache.ibatis.scripting.xmltags.ExpressionEvaluator.evaluateBoolean(ExpressionEvaluator.java:32)
  125.         at org.apache.ibatis.scripting.xmltags.IfSqlNode.apply(IfSqlNode.java:34)
  126.         at org.apache.ibatis.scripting.xmltags.MixedSqlNode.lambda$apply$0(MixedSqlNode.java:32)
  127.         at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
  128.         at org.apache.ibatis.scripting.xmltags.MixedSqlNode.apply(MixedSqlNode.java:32)
  129.         at org.apache.ibatis.scripting.xmltags.IfSqlNode.apply(IfSqlNode.java:35)
  130.         at org.apache.ibatis.scripting.xmltags.ChooseSqlNode.apply(ChooseSqlNode.java:35)
  131.         at org.apache.ibatis.scripting.xmltags.MixedSqlNode.lambda$apply$0(MixedSqlNode.java:32)
  132.         at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
  133.         at org.apache.ibatis.scripting.xmltags.MixedSqlNode.apply(MixedSqlNode.java:32)
  134.         at org.apache.ibatis.scripting.xmltags.TrimSqlNode.apply(TrimSqlNode.java:55)
  135.         at org.apache.ibatis.scripting.xmltags.MixedSqlNode.lambda$apply$0(MixedSqlNode.java:32)
  136.         at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
  137.         at org.apache.ibatis.scripting.xmltags.MixedSqlNode.apply(MixedSqlNode.java:32)
  138.         at org.apache.ibatis.scripting.xmltags.DynamicSqlSource.getBoundSql(DynamicSqlSource.java:39)
  139.         at org.apache.ibatis.mapping.MappedStatement.getBoundSql(MappedStatement.java:305)
  140.         at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:69)
  141.         at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
  142.         at jdk.proxy2/jdk.proxy2.$Proxy335.query(Unknown Source)
  143.         at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
  144.         at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
  145.         at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
  146.         at org.apache.ibatis.session.defaults.DefaultSqlSession.selectOne(DefaultSqlSession.java:76)
  147.         at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  148.         at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  149.         at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  150.         at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  151.         at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427)
  152.         ... 117 common frames omitted
  153. Caused by: org.apache.ibatis.ognl.OgnlException: sqlSegment
  154.         at org.apache.ibatis.ognl.OgnlRuntime.getMethodValue(OgnlRuntime.java:2165)
  155.         at org.apache.ibatis.ognl.ObjectPropertyAccessor.getPossibleProperty(ObjectPropertyAccessor.java:66)
  156.         at org.apache.ibatis.ognl.ObjectPropertyAccessor.getProperty(ObjectPropertyAccessor.java:160)
  157.         at org.apache.ibatis.ognl.OgnlRuntime.getProperty(OgnlRuntime.java:3373)
  158.         at org.apache.ibatis.ognl.ASTProperty.getValueBody(ASTProperty.java:121)
  159.         at org.apache.ibatis.ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212)
  160.         at org.apache.ibatis.ognl.SimpleNode.getValue(SimpleNode.java:258)
  161.         at org.apache.ibatis.ognl.ASTChain.getValueBody(ASTChain.java:141)
  162.         at org.apache.ibatis.ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212)
  163.         at org.apache.ibatis.ognl.SimpleNode.getValue(SimpleNode.java:258)
  164.         at org.apache.ibatis.ognl.ASTNotEq.getValueBody(ASTNotEq.java:50)
  165.         at org.apache.ibatis.ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212)
  166.         at org.apache.ibatis.ognl.SimpleNode.getValue(SimpleNode.java:258)
  167.         at org.apache.ibatis.ognl.ASTAnd.getValueBody(ASTAnd.java:61)
  168.         at org.apache.ibatis.ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212)
  169.         at org.apache.ibatis.ognl.SimpleNode.getValue(SimpleNode.java:258)
  170.         at org.apache.ibatis.ognl.Ognl.getValue(Ognl.java:586)
  171.         at org.apache.ibatis.ognl.Ognl.getValue(Ognl.java:550)
  172.         at org.apache.ibatis.scripting.xmltags.OgnlCache.getValue(OgnlCache.java:46)
  173.         ... 145 common frames omitted
  174. Caused by: java.lang.ExceptionInInitializerError: null
  175.         at com.baomidou.mybatisplus.core.toolkit.LambdaUtils.extract(LambdaUtils.java:55)
  176.         at com.baomidou.mybatisplus.core.conditions.AbstractLambdaWrapper.getColumnCache(AbstractLambdaWrapper.java:75)
  177.         at com.baomidou.mybatisplus.core.conditions.AbstractLambdaWrapper.columnToString(AbstractLambdaWrapper.java:62)
  178.         at com.baomidou.mybatisplus.core.conditions.AbstractLambdaWrapper.columnToString(AbstractLambdaWrapper.java:58)
  179.         at com.baomidou.mybatisplus.core.conditions.AbstractLambdaWrapper.columnToString(AbstractLambdaWrapper.java:38)
  180.         at com.baomidou.mybatisplus.core.conditions.AbstractWrapper.lambda$columnToSqlSegment$a3f115af$1(AbstractWrapper.java:596)
  181.         at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
  182.         at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
  183.         at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
  184.         at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
  185.         at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
  186.         at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
  187.         at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
  188.         at com.baomidou.mybatisplus.core.conditions.segments.NormalSegmentList.childrenSqlSegment(NormalSegmentList.java:89)
  189.         at com.baomidou.mybatisplus.core.conditions.segments.AbstractISegmentList.getSqlSegment(AbstractISegmentList.java:103)
  190.         at com.baomidou.mybatisplus.core.conditions.segments.MergeSegments.getSqlSegment(MergeSegments.java:72)
  191.         at com.baomidou.mybatisplus.core.conditions.AbstractWrapper.getSqlSegment(AbstractWrapper.java:546)
  192.         at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  193.         at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  194.         at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  195.         at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  196.         at org.apache.ibatis.ognl.OgnlRuntime.invokeMethodInsideSandbox(OgnlRuntime.java:1266)
  197.         at org.apache.ibatis.ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:1251)
  198.         at org.apache.ibatis.ognl.OgnlRuntime.getMethodValue(OgnlRuntime.java:2163)
  199.         ... 163 common frames omitted
  200. Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field private final java.lang.Class java.lang.invoke.SerializedLambda.capturingClass accessible: module java.base does not "opens java.lang.invoke" to unnamed module @77c2494c
  201.         at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
  202.         at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
  203.         at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:178)
  204.         at java.base/java.lang.reflect.Field.setAccessible(Field.java:172)
  205.         at com.baomidou.mybatisplus.core.toolkit.SetAccessibleAction.run(SetAccessibleAction.java:18)
  206.         at com.baomidou.mybatisplus.core.toolkit.SetAccessibleAction.run(SetAccessibleAction.java:9)
  207.         at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
  208.         at com.baomidou.mybatisplus.core.toolkit.ReflectionKit.setAccessible(ReflectionKit.java:192)
  209.         at com.baomidou.mybatisplus.core.toolkit.support.SerializedLambdaMeta.<clinit>(SerializedLambdaMeta.java:19)
  210.         ... 187 common frames omitted
复制代码

 楼主| 发表于 2021-12-31 15:33:19 | 显示全部楼层
懵逼中,求助。。。
发表于 2022-4-9 23:30:31 | 显示全部楼层
我V3.1,JDK8 跟你同样的错误,你问题解决了吗
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表