When using @InitBinder to bind custom parameters, report IllegalStateException:Cannot access properties on null bean instance 'query'. In debug, WebDataBinder.target is null
Steps to reproduce
test project https://github.com/leftnine/demo.git
- Run application
- Send http request curl -X GET --location "http://localhost:8080/test/test1" -H "teanntId: 1"