2024-03-08 15:50:20.348 INFO 79028 --- [nio-9603-exec-9] c.t.takeOut.controller.ShopController :

简介: 2024-03-08 15:50:20.348 INFO 79028 --- [nio-9603-exec-9] c.t.takeOut.controller.ShopController :

2024-03-08 15:50:20.348 INFO 79028 --- [nio-9603-exec-9] c.t.takeOut.controller.ShopController : /api/shop/listSearch in ...

2024-03-08 15:50:20.423 DEBUG 79028 --- [nio-9603-exec-9] c.t.t.mapper.ShopMapper.selectList : ==> Preparing: SELECT id,name,phone,principal_name,start_hours,end_hours,address,image,distribution_type,audit_status,application_instructions,description,business_license,industry_license,invoke_flag,create_time,update_time,update_user_id FROM ty_shop WHERE (invoke_flag = ?)

2024-03-08 15:50:20.426 DEBUG 79028 --- [nio-9603-exec-9] c.t.t.mapper.ShopMapper.selectList : ==> Parameters: 1(Integer)

2024-03-08 15:50:20.441 DEBUG 79028 --- [nio-9603-exec-9] c.t.t.mapper.ShopMapper.selectList : <== Total: 5

2024-03-08 15:50:21.616 ERROR 79028 --- [io-9603-exec-10] c.t.t.handler.GlobalExceptionHandler : 捕获异常:

org.springframework.http.converter.HttpMessageNotReadableException: Required request body is missing: public com.tengyuan.takeOut.model.resp.Result<java.util.List<com.tengyuan.takeOut.model.resp.DishCategorySearchResp>> com.tengyuan.takeOut.controller.DishCategoryController.listSearch(com.tengyuan.takeOut.model.param.DishCategorySearchParam)

at org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor.readWithMessageConverters(RequestResponseBodyMethodProcessor.java:163) ~[spring-webmvc-5.3.23.jar:5.3.23]

at org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor.resolveArgument(RequestResponseBodyMethodProcessor.java:133) ~[spring-webmvc-5.3.23.jar:5.3.23]

at org.springframework.web.method.support.HandlerMethodArgumentResolverComposite.resolveArgument(HandlerMethodArgumentResolverComposite.java:122) ~[spring-web-5.3.23.jar:5.3.23]

at org.springframework.web.method.support.InvocableHandlerMethod.getMethodArgumentValues(InvocableHandlerMethod.java:179) ~[spring-web-5.3.23.jar:5.3.23]

at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:146) ~[spring-web-5.3.23.jar:5.3.23]


发现原来是大意了,前端发送时没携带参数



目录
相关文章
|
Java 网络安全 Windows
springboot项目报错:ERROR 9112 --- [nio-8080-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet] 的解决办法
springboot项目报错:ERROR 9112 --- [nio-8080-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet] 的解决办法
springboot项目报错:ERROR 9112 --- [nio-8080-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet] 的解决办法
|
6月前
2024-03-27 16:24:05.811 ERROR [nio-9603-exec-2] c.t.t.handler.GlobalExceptionHandler
2024-03-27 16:24:05.811 ERROR [nio-9603-exec-2] c.t.t.handler.GlobalExceptionHandler
64 0
报错ERROR 3576 --- [nio-8080-exec-4] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for
报错类似题目这样的是因为你相应的类没有序列化,只需要在相关类后继承序列化接口即可。
1214 0
报错ERROR 3576 --- [nio-8080-exec-4] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for
|
3月前
|
消息中间件 开发工具
【Azure Service Bus】Service Bus SDK 抛出 ERROR c.a.c.a.i.ActiveClientTokenManager - Error is transient. Rescheduling authorization task at interval 1079000 ms.
【Azure Service Bus】Service Bus SDK 抛出 ERROR c.a.c.a.i.ActiveClientTokenManager - Error is transient. Rescheduling authorization task at interval 1079000 ms.
|
3月前
Unable to create tempDir. java.io.tmpdir is set to /tmp
Unable to create tempDir. java.io.tmpdir is set to /tmp
40 0
|
6月前
|
消息中间件
ERROR 65639 --- [Container#0-217] o.s.a.r.l.SimpleMessageListenerContainer Failed to check/redeclare
ERROR 65639 --- [Container#0-217] o.s.a.r.l.SimpleMessageListenerContainer Failed to check/redeclare
83 0
|
运维 Java 应用服务中间件
【Nginx异常】无法加载响应数据:No data found for resource with given identifier,后端服务报Caused by: java.io.IOExcepti
【Nginx异常】无法加载响应数据:No data found for resource with given identifier,后端服务报Caused by: java.io.IOExcepti
1344 0
|
6月前
|
Java 应用服务中间件
完美解决tomcat启动异常:Invalid byte tag in constant pool: 19;Unable to process Jar entry [module-info.class]
完美解决tomcat启动异常:Invalid byte tag in constant pool: 19;Unable to process Jar entry [module-info.class]
1236 0
|
Java
解决:Config service failed to start in 120 seconds! Please check ./service/apollo-service.log...
解决:Config service failed to start in 120 seconds! Please check ./service/apollo-service.log...
152 0
|
Android开发
Android Execution failed for task ‘:app:mergeDebugAssets‘. > java.nio.file.AccessDeniedException:错误
Android Execution failed for task ‘:app:mergeDebugAssets‘. > java.nio.file.AccessDeniedException:错误
126 0