You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@field:NotNull(message ="file must not be null") privateval file:FilePart?
Before the upgrade to Spring Boot 3.2.0, the Bean Validation worked as expected if "file" was missing in the request body. Since the Spring upgrade, I get the exception "No primary or single unique constructor found for interface org.springframework.http.codec.multipart.FilePart" instead.
The text was updated successfully, but these errors were encountered:
I have a
@RestController
with the methodwhere
UploadData
contains a fieldBefore the upgrade to Spring Boot 3.2.0, the Bean Validation worked as expected if "file" was missing in the request body. Since the Spring upgrade, I get the exception "No primary or single unique constructor found for interface org.springframework.http.codec.multipart.FilePart" instead.
The text was updated successfully, but these errors were encountered: