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] 的解决办法
报错ERROR 3576 --- [nio-8080-exec-4] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for
报错类似题目这样的是因为你相应的类没有序列化,只需要在相关类后继承序列化接口即可。
1225 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
47 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
1364 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...
156 0
|
Android开发
Android Execution failed for task ‘:app:mergeDebugAssets‘. > java.nio.file.AccessDeniedException:错误
Android Execution failed for task ‘:app:mergeDebugAssets‘. > java.nio.file.AccessDeniedException:错误
129 0
|
Unix Java Linux
Runtime.exec方法之获取process id
Runtime.exec方法之获取process id
216 0
|
jenkins Java 应用服务中间件
Jenkins部署异常: java.io.FileNotFoundException: http://ip:端口/manager/text/list
Jenkins部署异常: java.io.FileNotFoundException: http://ip:端口/manager/text/list
460 0
Jenkins部署异常: java.io.FileNotFoundException: http://ip:端口/manager/text/list
|
Java 测试技术 Nacos
Java访问Elasticsearch报错Request cannot be executed; I/O reactor status: STOPPED
Java访问Elasticsearch报错Request cannot be executed; I/O reactor status: STOPPED
4544 0
Java访问Elasticsearch报错Request cannot be executed; I/O reactor status: STOPPED