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]


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



目录
相关文章
报错ERROR 3576 --- [nio-8080-exec-4] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for
报错类似题目这样的是因为你相应的类没有序列化,只需要在相关类后继承序列化接口即可。
1245 0
报错ERROR 3576 --- [nio-8080-exec-4] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for
|
8月前
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
160 0
|
5月前
|
消息中间件 开发工具
【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.
|
5月前
Unable to create tempDir. java.io.tmpdir is set to /tmp
Unable to create tempDir. java.io.tmpdir is set to /tmp
62 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
1413 0
|
8月前
|
消息中间件
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
118 0
|
8月前
|
Kubernetes 容器 Perl
error: unable to retrieve the complete list of server APIs: metrics.k8s.io/v1beta1: the server is cu
error: unable to retrieve the complete list of server APIs: metrics.k8s.io/v1beta1: the server is cu
122 0
|
Unix Java Linux
Runtime.exec方法之获取process id
Runtime.exec方法之获取process id
228 0
|
SQL
SQL Server中与IO相关的等待类型:IO_COMPLETION和PAGEIOLATCH_*
原文:SQL Server中与IO相关的等待类型:IO_COMPLETION和PAGEIOLATCH_* 一个大的SQL语句操作,执行计划中包含了一个merge join操作,观察到SQL长时间处于IO_COMPLETION等待状态,如果是读取相关的表的数据,服务器应该全力为其服务,但是服务器的物理IO又远远没有达到瓶颈。
1347 0

热门文章

最新文章