我用官方的bladex代码自动生成,生成了一个例子,结果访问时,报数据库方面的错误,请问怎么解决

Blade 未结 1 1086
javahuan
javahuan 剑圣 2021-01-25 17:52

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

  1.  我用官方的bladex代码自动生成,生成了一个例子,访问时报如下的错误
      用postman访问时报错如下
      image.png


    后端报错如下

  2. :45:49.171 DEBUG 17728 --- [  XNIO-1 task-2] .c.c.v.BladeRequestMappingHandlerMapping : Mapped to org.springblade.core.log.feign.LogClient#saveErrorLog(LogError)

  3. 2021-01-25 17:45:49.234  INFO 17728 --- [  XNIO-1 task-2] o.s.core.log.aspect.RequestLogAspect     : 


  4. ================  Request Start  ================

  5. ===> POST: /log/saveErrorLog

  6. ====Body=====  {"id":null,"tenantId":"000000","serviceId":"lcyj-business","serverIp":"172.16.180.29:9101","serverHost":"iZ70f7e9n370v7Z","env":"dev","remoteIp":"113.57.108.107","userAgent":"PostmanRuntime/7.26.8","requestUri":"/xjorderinfo/list","method":"GET","methodClass":"org.apache.ibatis.binding.MapperMethod$SqlCommand","methodName":"","params":"current=1&size=10","createBy":"admin","createTime":"2021-01-25 17:45:49","stackTrace":"org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): org.springblade.core.mp.mapper.BladeMapper.selectPage\r\n\tat org.apache.ibatis.binding.MapperMethod$SqlCommand.(MapperMethod.java:235)\r\n\tat com.baomidou.mybatisplus.core.override.MybatisMapperMethod.(MybatisMapperMethod.java:51)\r\n\tat com.baomidou.mybatisplus.core.override.MybatisMapperProxy.lambda$cachedInvoker$0(MybatisMapperProxy.java:111)\r\n\tat java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660)\r\n\tat com.baomidou.mybatisplus.core.toolkit.CollectionUtils.computeIfAbsent(CollectionUtils.java:117)\r\n\tat com.baomidou.mybatisplus.core.override.MybatisMapperProxy.cachedInvoker(MybatisMapperProxy.java:98)\r\n\tat com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89)\r\n\tat com.sun.proxy.$Proxy157.selectPage(Unknown Source)\r\n\tat com.baomidou.mybatisplus.extension.service.IService.page(IService.java:296)\r\n\tat com.baomidou.mybatisplus.extension.service.IService$$FastClassBySpringCGLIB$$f8525d18.invoke()\r\n\tat org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)\r\n\tat org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:687)\r\n\tat org.business.lcyj.finance.service.impl.XjOrderInfoServiceImpl$$EnhancerBySpringCGLIB$$f3743c21.page()\r\n\tat org.business.lcyj.finance.controller.XjOrderInfoController.list(XjOrderInfoController.java:69)\r\n\tat org.business.lcyj.finance.controller.XjOrderInfoController$$FastClassBySpringCGLIB$$639f252a.invoke()\r\n\tat org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)\r\n\tat org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:771)\r\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)\r\n\tat org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)\r\n\tat org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88)\r\n\tat org.springblade.core.log.aspect.RequestLogAspect.aroundApi(RequestLogAspect.java:111)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644)\r\n\tat org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633)\r\n\tat org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70)\r\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)\r\n\tat org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)\r\n\tat org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:95)\r\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)\r\n\tat org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)\r\n\tat org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:691)\r\n\tat org.business.lcyj.finance.controller.XjOrderInfoController$$EnhancerBySpringCGLIB$$e629a6ab.list()\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190)\r\n\tat org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)\r\n\tat org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105)\r\n\tat org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:878)\r\n\tat org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:792)\r\n\tat org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)\r\n\tat org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040)\r\n\tat org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943)\r\n\tat org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)\r\n\tat org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)\r\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:497)\r\n\tat org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)\r\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:584)\r\n\tat io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)\r\n\tat io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)\r\n\tat org.springblade.core.log.filter.LogTraceFilter.doFilter(LogTraceFilter.java:39)\r\n\tat io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)\r\n\tat io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)\r\n\tat org.springblade.core.boot.request.BladeRequestFilter.doFilter(BladeRequestFilter.java:49)\r\n\tat io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)\r\n\tat io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)\r\n\tat org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)\r\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)\r\n\tat io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)\r\n\tat io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)\r\n\tat org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)\r\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)\r\n\tat io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)\r\n\tat io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)\r\n\tat org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:109)\r\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)\r\n\tat io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)\r\n\tat io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)\r\n\tat org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)\r\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)\r\n\tat io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)\r\n\tat io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)\r\n\tat io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)\r\n\tat io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)\r\n\tat io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)\r\n\tat io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)\r\n\tat io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)\r\n\tat io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:132)\r\n\tat io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)\r\n\tat io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)\r\n\tat io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)\r\n\tat io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)\r\n\tat io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)\r\n\tat io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)\r\n\tat io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)\r\n\tat io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)\r\n\tat io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)\r\n\tat io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:269)\r\n\tat io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:78)\r\n\tat io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:133)\r\n\tat io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:130)\r\n\tat io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)\r\n\tat io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)\r\n\tat io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:249)\r\n\tat io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:78)\r\n\tat io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:99)\r\n\tat io.undertow.server.Connectors.executeRootHandler(Connectors.java:376)\r\n\tat io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:830)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n","exceptionName":"org.apache.ibatis.binding.BindingException","message":"Invalid bound statement (not found): org.springblade.core.mp.mapper.BladeMapper.selectPage","fileName":"MapperMethod.java","lineNumber":235}

  7. ===Headers===  Authorization: Basic c2FiZXI6c2FiZXJfc2VjcmV0

  8. ===Headers===  Accept: */*

  9. ===Headers===  User-Agent: okhttp/3.14.5

  10. ===Headers===  Connection: Keep-Alive

  11. ===Headers===  Host: 172.16.180.29:8103

  12. ===Headers===  Accept-Encoding: gzip

  13. ===Headers===  Content-Length: 11476

  14. ===Headers===  Blade-Auth: bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZW5hbnRfaWQiOiIwMDAwMDAiLCJ1c2VyX25hbWUiOiJhZG1pbiIsInJlYWxfbmFtZSI6IueuoeeQhuWRmCIsImF2YXRhciI6Imh0dHBzOi8vZ3cuYWxpcGF5b2JqZWN0cy5jb20vem9zL3Jtc3BvcnRhbC9CaWF6ZmFueG1hbU5Sb3h4VnhrYS5wbmciLCJhdXRob3JpdGllcyI6WyJhZG1pbmlzdHJhdG9yIl0sImNsaWVudF9pZCI6InNhYmVyIiwicm9sZV9uYW1lIjoiYWRtaW5pc3RyYXRvciIsImxpY2Vuc2UiOiJwb3dlcmVkIGJ5IGJsYWRleCIsInBvc3RfaWQiOiIxMTIzNTk4ODE3NzM4Njc1MjAxIiwidXNlcl9pZCI6IjExMjM1OTg4MjE3Mzg2NzUyMDEiLCJyb2xlX2lkIjoiMTEyMzU5ODgxNjczODY3NTIwMSIsInNjb3BlIjpbImFsbCJdLCJuaWNrX25hbWUiOiLnrqHnkIblkZgiLCJvYXV0aF9pZCI6IiIsImRldGFpbCI6eyJ0eXBlIjoid2ViIn0sImV4cCI6MTYxMTU3MDc4MCwiZGVwdF9pZCI6IjExMjM1OTg4MTM3Mzg2NzUyMDEiLCJqdGkiOiJiYTdkMTk3MS1jZmU3LTRkNDItOWEwNi0yYjZjZTMwMGI2MDEiLCJhY2NvdW50IjoiYWRtaW4ifQ.bh9Vhb_CD2O7fVa-d6w611VHVZohSiUiNwweYBpSrI0

  15. ===Headers===  Content-Type: application/json

  16. ================   Request End   ================


  17. 2021-01-25 17:45:49.252  WARN 17728 --- [  XNIO-1 task-2] c.a.druid.pool.DruidAbstractDataSource   : discard long time none received connection. , jdbcUrl : jdbc:mysql://23.54.129.79:3306/bladex?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true, version : 1.2.2, lastPacketReceivedIdleMillis : 739863

  18. 2021-01-25 17:45:49.279 DEBUG 17728 --- [  XNIO-1 task-2] o.s.core.tenant.BladeTenantInterceptor   : Original SQL: INSERT INTO blade_log_error  ( id,

  19. stack_trace,

  20. exception_name,

  21. message,

  22. file_name,

  23. line_number,

  24. tenant_id,

  25. service_id,

  26. server_ip,

  27. server_host,

  28. env,

  29. remote_ip,

  30. user_agent,

  31. request_uri,

  32. method,

  33. method_class,

  34. method_name,

  35. params,

  36. create_by,

  37. create_time )  VALUES  ( ?,

  38. ?,

  39. ?,

  40. ?,

  41. ?,

  42. ?,

  43. ?,

  44. ?,

  45. ?,

  46. ?,

  47. ?,

  48. ?,

  49. ?,

  50. ?,

  51. ?,

  52. ?,

  53. ?,

  54. ?,

  55. ?,

  56. ? )

  57. 2021-01-25 17:45:49.300 DEBUG 17728 --- [  XNIO-1 task-2] o.s.core.tenant.BladeTenantInterceptor   : parser sql: INSERT INTO blade_log_error (id, stack_trace, exception_name, message, file_name, line_number, tenant_id, service_id, server_ip, server_host, env, remote_ip, user_agent, request_uri, method, method_class, method_name, params, create_by, create_time) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)

  58. 2021-01-25 17:45:49.300 DEBUG 17728 --- [  XNIO-1 task-2] o.s.c.log.mapper.LogErrorMapper.insert   : ==>  Preparing: INSERT INTO blade_log_error (id, stack_trace, exception_name, message, file_name, line_number, tenant_id, service_id, server_ip, server_host, env, remote_ip, user_agent, request_uri, method, method_class, method_name, params, create_by, create_time) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)

  59. 2021-01-25 17:45:49.317 DEBUG 17728 --- [  XNIO-1 task-2] o.s.c.log.mapper.LogErrorMapper.insert   : ==> Parameters: 1353640206273175554(Long), org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): org.springblade.core.mp.mapper.BladeMapper.selectPage

  60. at org.apache.ibatis.binding.MapperMethod$SqlCommand.(MapperMethod.java:235)

  61. at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.(MybatisMapperMethod.java:51)

  62. at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.lambda$cachedInvoker$0(MybatisMapperProxy.java:111)

  63. at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660)

  64. at com.baomidou.mybatisplus.core.toolkit.CollectionUtils.computeIfAbsent(CollectionUtils.java:117)

  65. at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.cachedInvoker(MybatisMapperProxy.java:98)

  66. at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89)

  67. at com.sun.proxy.$Proxy157.selectPage(Unknown Source)

  68. at com.baomidou.mybatisplus.extension.service.IService.page(IService.java:296)

  69. at com.baomidou.mybatisplus.extension.service.IService$$FastClassBySpringCGLIB$$f8525d18.invoke()

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

  71. at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:687)

  72. at org.business.lcyj.finance.service.impl.XjOrderInfoServiceImpl$$EnhancerBySpringCGLIB$$f3743c21.page()

  73. at org.business.lcyj.finance.controller.XjOrderInfoController.list(XjOrderInfoController.java:69)

  74. at org.business.lcyj.finance.controller.XjOrderInfoController$$FastClassBySpringCGLIB$$639f252a.invoke()

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

  76. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:771)

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

  78. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)

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

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

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

  82. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

  83. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

  84. at java.lang.reflect.Method.invoke(Method.java:498)

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

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

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

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

  89. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)

  90. at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:95)

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

  92. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)

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

  94. at org.business.lcyj.finance.controller.XjOrderInfoController$$EnhancerBySpringCGLIB$$e629a6ab.list()

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

  96. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

  97. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

  98. at java.lang.reflect.Method.invoke(Method.java:498)

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

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

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

  102. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:878)

  103. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:792)

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

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

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

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

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

  109. at javax.servlet.http.HttpServlet.service(HttpServlet.java:497)

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

  111. at javax.servlet.http.HttpServlet.service(HttpServlet.java:584)

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

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

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

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

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

  117. at org.springblade.core.boot.request.BladeRequestFilter.doFilter(BladeRequestFilter.java:49)

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

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

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

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

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

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

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

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

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

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

  128. at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:109)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  162. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

  163. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

  164. at java.lang.Thread.run(Thread.java:745)

  165. (String), org.apache.ibatis.binding.BindingException(String), Invalid bound statement (not found): org.springblade.core.mp.mapper.BladeMapper.selectPage(String), MapperMethod.java(String), 235(Integer), 000000(String), lcyj-business(String), 172.16.180.29:9101(String), iZ70f7e9n370v7Z(String), dev(String), 113.57.108.107(String), PostmanRuntime/7.26.8(String), /xjorderinfo/list(String), GET(String), org.apache.ibatis.binding.MapperMethod$SqlCommand(String), (String), current=1&size=10(String), admin(String), 2021-01-25 17:45:49.0(Timestamp)

  166. 2021-01-25 17:45:49.324 DEBUG 17728 --- [  XNIO-1 task-2] o.s.c.log.mapper.LogErrorMapper.insert   : <==    Updates: 1


  167. ==============  Sql Start  ==============

  168. Execute ID  :org.springblade.core.log.mapper.LogErrorMapper.insert

  169. Execute SQL :INSERT INTO blade_log_error (id, stack_trace, exception_name, message, file_name, line_number, tenant_id, service_id, server_ip, server_host, env, remote_ip, user_agent, request_uri, method, method_class, method_name, params, create_by, create_time) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)

  170. Execute Time:7 ms

  171. ==============  Sql  End   ==============


  172. 2021-01-25 17:45:49.326  INFO 17728 --- [  XNIO-1 task-2] o.s.core.log.aspect.RequestLogAspect     : 


  173. ================  Response Start  ================

  174. ===Result===  {"code":200,"success":true,"data":true,"msg":"操作成功"}

  175. <=== POST: /log/saveErrorLog (92 ms)

  176. ================   Response End   ================



1条回答
  • 2021-01-25 18:20

    看报错应该是自定义包名了,但是没有做好配置,具体可以看下这个帖子:https://sns.bladex.cn/q-630.html

    如果配置后还报这个错麻烦把生成后的工程打一个压缩包传到本帖,我们会下载后进行调试

    0 讨论(0)
提交回复