Skip to content

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

@github-narendar

Description

@github-narendar

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions