The Problem:
After upgrading a Spring Boot application from version 3.1.5 to 3.2.0, a user encounters an "IllegalStateException: No target Validator set" error when executing a reactive application. This exception was not present in Spring Boot 3.1.5, and there were no other changes made to the code. The error occurs during argument validation in a web method.
Q&A
How does one fix ‘IllegalStateException: No target validator set’?
Add spring-boot-starter-validation dependency to the pom.xml file.
What is the cause of ‘IllegalStateException: No target validator set’?
Change of logic in dependency on spring-boot-starter-validation.
Video Explanation:
The following video, titled "Fixed Error - Waiting For Time - YouTube", provides additional insights and in-depth exploration related to the topics discussed in this post.
Streaming & Purchase: https://bfan.link/waiting-for-time.
The following video, titled "Fixed Error - Waiting For Time - YouTube", provides additional insights and in-depth exploration related to the topics discussed in this post.
Streaming & Purchase: https://bfan.link/waiting-for-time.