spring-annotated-web-data-binder icon indicating copy to clipboard operation
spring-annotated-web-data-binder copied to clipboard

Getting WebRequestDataBinder class cast exception with Spring boot 3.x version

Open github-narendar opened this issue 1 year ago • 3 comments

Hi @mattbertolini I started using this library to replace multiple @RequestParam and @PathVariable annotation for a cleaner code. But, getting below error at runtime. I am using spring boot 3.x latest version.

class org.springframework.web.servlet.mvc.method.annotation.ExtendedServletRequestDataBinder cannot be cast to class org.springframework.web.bind.support.WebRequestDataBinder (org.springframework.web.servlet.mvc.method.annotation.ExtendedServletRequestDataBinder and org.springframework.web.bind.support.WebRequestDataBinder are in unnamed module of loader 'app')

Help is appreciated.

github-narendar avatar Jul 16 '24 02:07 github-narendar