Bladex-Boot项目更新2.5.1后访问用户管理功能报错

Blade 未结 1 1155
日行千里
日行千里 剑圣 2020-07-06 08:20

一、该问题的重现步骤是什么?

  1. 更新Bladex-Boot项目至最新版本,启动项目,访问用户管理功能页面报服务器错,后台报错信息如下:


  2. ==============  Sql Start  ==============

  3. Execute ID  :org.springblade.modules.system.mapper.UserMapper.selectUserPage

  4. Execute SQL :SELECT * FROM blade_user WHERE is_deleted = 0 ORDER BY id LIMIT ?,?

  5. Execute Time:2 ms

  6. ==============  Sql  End   ==============


  7. java.lang.RuntimeException: java.lang.ClassNotFoundException: org.springblade.system.entity.Tenant

  8. at io.protostuff.runtime.RuntimeEnv.loadClass(RuntimeEnv.java:258)

  9. at io.protostuff.runtime.DefaultIdStrategy.getSchemaWrapper(DefaultIdStrategy.java:185)

  10. at io.protostuff.runtime.DefaultIdStrategy.resolvePojoFrom(DefaultIdStrategy.java:524)

  11. at io.protostuff.runtime.ObjectSchema.readObjectFrom(ObjectSchema.java:682)

  12. at io.protostuff.runtime.ObjectSchema.mergeFrom(ObjectSchema.java:350)

  13. at io.protostuff.ByteArrayInput.mergeObjectEncodedAsGroup(ByteArrayInput.java:518)

  14. at io.protostuff.ByteArrayInput.mergeObject(ByteArrayInput.java:490)

  15. at io.protostuff.runtime.RuntimeUnsafeFieldFactory$15$1.mergeFrom(RuntimeUnsafeFieldFactory.java:1217)

  16. at io.protostuff.runtime.RuntimeSchema.mergeFrom(RuntimeSchema.java:466)

  17. at io.protostuff.IOUtil.mergeFrom(IOUtil.java:45)

  18. at io.protostuff.ProtostuffIOUtil.mergeFrom(ProtostuffIOUtil.java:104)

  19. at org.springblade.core.redis.serializer.ProtoStuffSerializer.deserialize(ProtoStuffSerializer.java:59)

  20. at org.springframework.data.redis.serializer.DefaultRedisElementReader.read(DefaultRedisElementReader.java:48)

  21. at org.springframework.data.redis.serializer.RedisSerializationContext$SerializationPair.read(RedisSerializationContext.java:226)

  22. at org.springframework.data.redis.cache.RedisCache.deserializeCacheValue(RedisCache.java:260)

  23. at org.springframework.data.redis.cache.RedisCache.lookup(RedisCache.java:94)

  24. at org.springframework.cache.support.AbstractValueAdaptingCache.get(AbstractValueAdaptingCache.java:58)

  25. at org.springblade.core.cache.utils.CacheUtil.get(CacheUtil.java:188)

  26. at org.springblade.core.cache.utils.CacheUtil.get(CacheUtil.java:168)

  27. at org.springblade.common.cache.SysCache.getTenant(SysCache.java:276)

  28. at org.springblade.modules.system.wrapper.UserWrapper.entityVO(UserWrapper.java:46)

  29. at org.springblade.modules.system.wrapper.UserWrapper.entityVO(UserWrapper.java:1)

  30. at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)

  31. at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source)

  32. at java.util.stream.AbstractPipeline.copyInto(Unknown Source)

  33. at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)

  34. at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)

  35. at java.util.stream.AbstractPipeline.evaluate(Unknown Source)

  36. at java.util.stream.ReferencePipeline.collect(Unknown Source)

  37. at org.springblade.core.mp.support.BaseEntityWrapper.listVO(BaseEntityWrapper.java:47)

  38. at org.springblade.core.mp.support.BaseEntityWrapper.pageVO(BaseEntityWrapper.java:57)

  39. at org.springblade.modules.system.controller.UserController.page(UserController.java:125)

  40. at org.springblade.modules.system.controller.UserController$$FastClassBySpringCGLIB$$8bfeb62e.invoke(<generated>)

  41. at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)

  42. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:752)

  43. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)

  44. at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88)

  45. at org.springblade.core.secure.aspect.AuthAspect.preAuth(AuthAspect.java:68)

  46. at sun.reflect.GeneratedMethodAccessor521.invoke(Unknown Source)

  47. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

  48. at java.lang.reflect.Method.invoke(Unknown Source)

  49. at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644)

  50. at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633)

  51. at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70)

  52. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)

  53. at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88)

  54. at org.springblade.core.log.aspect.RequestLogAspect.aroundApi(RequestLogAspect.java:111)

  55. at sun.reflect.GeneratedMethodAccessor433.invoke(Unknown Source)

  56. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

  57. at java.lang.reflect.Method.invoke(Unknown Source)

  58. at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644)

  59. at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633)

  60. at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70)

  61. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)

  62. at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93)

  63. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)

  64. at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:691)

  65. at org.springblade.modules.system.controller.UserController$$EnhancerBySpringCGLIB$$5903214a.page(<generated>)

  66. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

  67. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

  68. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

  69. at java.lang.reflect.Method.invoke(Unknown Source)

  70. at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190)

  71. at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)

  72. at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105)

  73. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:893)

  74. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:798)

  75. at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)

  76. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040)

  77. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943)

  78. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)

  79. at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)

  80. at javax.servlet.http.HttpServlet.service(HttpServlet.java:645)

  81. at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)

  82. at javax.servlet.http.HttpServlet.service(HttpServlet.java:750)

  83. at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)

  84. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)

  85. at com.github.xiaoymin.knife4j.spring.filter.ProductionSecurityFilter.doFilter(ProductionSecurityFilter.java:53)

  86. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)

  87. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

  88. at com.github.xiaoymin.knife4j.spring.filter.SecurityBasicAuthFilter.doFilter(SecurityBasicAuthFilter.java:90)

  89. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)

  90. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

  91. at org.springblade.core.tool.request.BladeRequestFilter.doFilter(BladeRequestFilter.java:49)

  92. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)

  93. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

  94. at org.springblade.core.log.filter.LogTraceFilter.doFilter(LogTraceFilter.java:39)

  95. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)

  96. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

  97. at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:124)

  98. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)

  99. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

  100. at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)

  101. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)

  102. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)

  103. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

  104. at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)

  105. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)

  106. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)

  107. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

  108. at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94)

  109. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)

  110. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)

  111. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

  112. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)

  113. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)

  114. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)

  115. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

  116. at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)

  117. at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)

  118. at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)

  119. at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)

  120. at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)

  121. at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:132)

  122. at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)

  123. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

  124. at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)

  125. at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)

  126. at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)

  127. at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)

  128. at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)

  129. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

  130. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

  131. at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:269)

  132. at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:78)

  133. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:133)

  134. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:130)

  135. at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)

  136. at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)

  137. at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:249)

  138. at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:78)

  139. at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:99)

  140. at io.undertow.server.Connectors.executeRootHandler(Connectors.java:376)

  141. at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:830)

  142. at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

  143. at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

  144. at java.lang.Thread.run(Unknown Source)

  145. Caused by: java.lang.ClassNotFoundException: org.springblade.system.entity.Tenant

  146. at java.net.URLClassLoader.findClass(Unknown Source)

  147. at java.lang.ClassLoader.loadClass(Unknown Source)

  148. at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

  149. at java.lang.ClassLoader.loadClass(Unknown Source)

  150. at io.protostuff.runtime.RuntimeEnv.loadClass(RuntimeEnv.java:251)

  151. ... 136 more

  152. 2020-07-06 08:03:56.376  INFO 7352 --- [XNIO-1 task-104] o.s.core.log.aspect.RequestLogAspect     : 


  153. ================  Response Start  ================

  154. <=== GET: /blade-user/page (30 ms)

  155. ================   Response End   ================


  156. 2020-07-06 08:03:56.376 ERROR 7352 --- [XNIO-1 task-104] o.s.c.l.e.BladeRestExceptionTranslator   : 服务器异常


  157. java.lang.NullPointerException: null

  158. at org.springblade.modules.system.wrapper.UserWrapper.entityVO(UserWrapper.java:50)

  159. at org.springblade.modules.system.wrapper.UserWrapper.entityVO(UserWrapper.java:1)

  160. at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)

  161. at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source)

  162. at java.util.stream.AbstractPipeline.copyInto(Unknown Source)

  163. at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)

  164. at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)

  165. at java.util.stream.AbstractPipeline.evaluate(Unknown Source)

  166. at java.util.stream.ReferencePipeline.collect(Unknown Source)

  167. at org.springblade.core.mp.support.BaseEntityWrapper.listVO(BaseEntityWrapper.java:47)

  168. at org.springblade.core.mp.support.BaseEntityWrapper.pageVO(BaseEntityWrapper.java:57)

  169. at org.springblade.modules.system.controller.UserController.page(UserController.java:125)

  170. at org.springblade.modules.system.controller.UserController$$FastClassBySpringCGLIB$$8bfeb62e.invoke(<generated>)

  171. at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)

  172. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:752)

  173. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)

  174. at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88)

  175. at org.springblade.core.secure.aspect.AuthAspect.preAuth(AuthAspect.java:68)

  176. at sun.reflect.GeneratedMethodAccessor521.invoke(Unknown Source)

  177. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

  178. at java.lang.reflect.Method.invoke(Unknown Source)

  179. at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644)

  180. at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633)

  181. at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70)

  182. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)

  183. at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88)

  184. at org.springblade.core.log.aspect.RequestLogAspect.aroundApi(RequestLogAspect.java:111)

  185. at sun.reflect.GeneratedMethodAccessor433.invoke(Unknown Source)

  186. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

  187. at java.lang.reflect.Method.invoke(Unknown Source)

  188. at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644)

  189. at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633)

  190. at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70)

  191. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)

  192. at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93)

  193. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)

  194. at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:691)

  195. at org.springblade.modules.system.controller.UserController$$EnhancerBySpringCGLIB$$5903214a.page(<generated>)

  196. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

  197. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

  198. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

  199. at java.lang.reflect.Method.invoke(Unknown Source)

  200. at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190)

  201. at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)

  202. at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105)

  203. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:893)

  204. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:798)

  205. at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)

  206. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040)

  207. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943)

  208. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)

  209. at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)

  210. at javax.servlet.http.HttpServlet.service(HttpServlet.java:645)

  211. at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)

  212. at javax.servlet.http.HttpServlet.service(HttpServlet.java:750)

  213. at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)

  214. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)

  215. at com.github.xiaoymin.knife4j.spring.filter.ProductionSecurityFilter.doFilter(ProductionSecurityFilter.java:53)

  216. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)

  217. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

  218. at com.github.xiaoymin.knife4j.spring.filter.SecurityBasicAuthFilter.doFilter(SecurityBasicAuthFilter.java:90)

  219. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)

  220. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

  221. at org.springblade.core.tool.request.BladeRequestFilter.doFilter(BladeRequestFilter.java:49)

  222. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)

  223. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

  224. at org.springblade.core.log.filter.LogTraceFilter.doFilter(LogTraceFilter.java:39)

  225. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)

  226. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

  227. at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:124)

  228. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)

  229. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

  230. at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)

  231. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)

  232. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)

  233. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

  234. at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)

  235. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)

  236. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)

  237. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

  238. at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94)

  239. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)

  240. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)

  241. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

  242. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)

  243. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)

  244. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)

  245. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

  246. at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)

  247. at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)

  248. at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)

  249. at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)

  250. at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)

  251. at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:132)

  252. at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)

  253. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

  254. at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)

  255. at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)

  256. at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)

  257. at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)

  258. at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)

  259. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

  260. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

  261. at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:269)

  262. at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:78)

  263. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:133)

  264. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:130)

  265. at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)

  266. at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)

  267. at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:249)

  268. at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:78)

  269. at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:99)

  270. at io.undertow.server.Connectors.executeRootHandler(Connectors.java:376)

  271. at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:830)

  272. at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

  273. at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

  274. at java.lang.Thread.run(Unknown Source)

3.


二、你期待的结果是什么?实际看到的又是什么?

正常访问

三、你正在使用的是什么产品,什么版本?在什么操作系统上?

产品:BladeX-Boot    

版本:2.5.1    

系统:win10

四、请提供详细的错误堆栈信息,这很重要。


五、若有更多详细信息,请在下面提供。

1条回答
  • 看报错信息,是取不到 org.springblade.system.entity.Tenant 这个类,这个类的路径是BladeX版本,而你用的是BladeX-Boot版本,正确路径是org.springblade.modules.system.entity.Tenant,所以会报错。

    你应该是先启动了BladeX,redis存入了缓存然后启动的BladeX-Boot,这种情况清空下redis缓存就可以了。

    1 讨论(0)
提交回复