用中文回答我为什么: 2024-03-06 15:30:32.052 WARN 23536 --- [nio-8080-exec-5]…
Jump to turn (6)
- User
用中文回答我为什么:
2024-03-06 15:30:32.052 WARN 23536 --- [nio-8080-exec-5] .m.m.a.ExceptionHandlerExceptionResolver : Resolved [org.springframework.validation.BindException: org.springframework.validation.BeanPropertyBindingResult: 1 errors Field error in object 'productTestUploadDTO' on field 'detailId': rejected value [null]; codes [typeMismatch.productTestUploadDTO.detailId,typeMismatch.detailId,typeMismatch.java.lang.Long,typeMismatch]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [productTestUploadDTO.detailId,detailId]; arguments []; default message [detailId]]; default message [Failed to convert property value of type 'java.lang.String' to required type 'java.lang.Long' for property 'detailId'; nested exception is java.lang.NumberFormatException: For input string: "null"]]
- Assistant