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

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

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

查看: 7881|回复: 1

[开发环境搭建] 求助,登录失败

[复制链接]
发表于 2021-12-30 15:37:23 | 显示全部楼层 |阅读模式
本帖最后由 zkw1813133460 于 2021-12-30 16:16 编辑

V3.0
登录报错如下,谁遇到过这个问题?

  1. 2021-12-30 15:33:20.333 [http-nio-8080-exec-9] 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.NoClassDefFoundError: Could not initialize class com.baomidou.mybatisplus.core.toolkit.support.ReflectLambdaMeta]
  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.NoClassDefFoundError: Could not initialize class com.baomidou.mybatisplus.core.toolkit.support.ReflectLambdaMeta]
  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.selectList(Unknown Source)
  6.         at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
  7.         at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:166)
  8.         at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77)
  9.         at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148)
  10.         at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89)
  11.         at jdk.proxy2/jdk.proxy2.$Proxy139.selectList(Unknown Source)
  12.         at com.baomidou.mybatisplus.core.mapper.BaseMapper.selectOne(BaseMapper.java:174)
  13.         at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732)
  14.         at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$DefaultMethodInvoker.invoke(MybatisMapperProxy.java:162)
  15.         at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89)
  16.         at jdk.proxy2/jdk.proxy2.$Proxy139.selectOne(Unknown Source)
  17.         at com.baomidou.mybatisplus.extension.service.impl.ServiceImpl.getOne(ServiceImpl.java:202)
  18.         at com.baomidou.mybatisplus.extension.service.IService.getOne(IService.java:239)
  19.         at com.baomidou.mybatisplus.extension.service.IService$FastClassBySpringCGLIB$f8525d18.invoke(<generated>)
  20.         at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
  21.         at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:687)
  22.         at org.jeecg.modules.system.service.impl.SysUserServiceImpl$EnhancerBySpringCGLIB$b7f28b2.getOne(<generated>)
  23.         at org.jeecg.modules.system.controller.LoginController.login(LoginController.java:94)
  24.         at org.jeecg.modules.system.controller.LoginController$FastClassBySpringCGLIB$b307ab61.invoke(<generated>)
  25.         at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
  26.         at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:771)
  27.         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  28.         at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)
  29.         at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88)
  30.         at org.jeecg.common.aspect.DictAspect.doAround(DictAspect.java:55)
  31.         at jdk.internal.reflect.GeneratedMethodAccessor276.invoke(Unknown Source)
  32.         at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  33.         at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  34.         at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644)
  35.         at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633)
  36.         at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70)
  37.         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
  38.         at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)
  39.         at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:95)
  40.         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
  41.         at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)
  42.         at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:691)
  43.         at org.jeecg.modules.system.controller.LoginController$EnhancerBySpringCGLIB$f1727fa6.login(<generated>)
  44.         at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  45.         at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  46.         at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  47.         at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  48.         at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190)
  49.         at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)
  50.         at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105)
  51.         at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:878)
  52.         at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:792)
  53.         at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
  54.         at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040)
  55.         at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943)
  56.         at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
  57.         at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909)
  58.         at javax.servlet.http.HttpServlet.service(HttpServlet.java:652)
  59.         at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
  60.         at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
  61.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
  62.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  63.         at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
  64.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  65.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  66.         at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)
  67.         at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
  68.         at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
  69.         at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
  70.         at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
  71.         at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
  72.         at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
  73.         at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
  74.         at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
  75.         at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:450)
  76.         at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
  77.         at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
  78.         at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
  79.         at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387)
  80.         at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
  81.         at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
  82.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  83.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  84.         at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:92)
  85.         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
  86.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  87.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  88.         at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:124)
  89.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  90.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  91.         at org.springframework.boot.actuate.web.trace.servlet.HttpTraceFilter.doFilterInternal(HttpTraceFilter.java:88)
  92.         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
  93.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  94.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  95.         at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
  96.         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
  97.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  98.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  99.         at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
  100.         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
  101.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  102.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  103.         at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:93)
  104.         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
  105.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  106.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  107.         at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
  108.         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
  109.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  110.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  111.         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
  112.         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
  113.         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)
  114.         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)
  115.         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
  116.         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
  117.         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
  118.         at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374)
  119.         at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
  120.         at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
  121.         at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590)
  122.         at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
  123.         at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
  124.         at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
  125.         at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
  126.         at java.base/java.lang.Thread.run(Thread.java:833)
复制代码


 楼主| 发表于 2021-12-30 16:17:54 | 显示全部楼层
发错版块了=。=
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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