Issue
Just wanted to understand difference between below two error messages.
We have upgraded spring-boot version 2.3.9 to 2.5.12
and from org.springframework:spring-web:5.2.9.RELEASE
toorg.springframework:spring-web:5.3.18
Required String parameter 'search' is not present
Required request parameter 'search' for method parameter type String is not present
Solution
The error message was improved in Spring Framework 5.3.16. The updated message (the second in your question) provides more information about what was missing and the method parameter to which it was being bound.
Answered By - Andy Wilkinson
Answer Checked By - Marie Seifert (JavaFixing Admin)