Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webflux handler method does not accept Map as parameter [SPR-16086] #20635

spring-issuemaster opened this issue Oct 18, 2017 · 0 comments


None yet
2 participants
Copy link

commented Oct 18, 2017

Dave Syer opened SPR-16086 and commented

The user guide says that a Map can be used as a handler method param, but it results in an error

Caused by: java.lang.NoSuchMethodException: java.util.Map.<init>()
    at java.lang.Class.getConstructor0( ~[na:1.8.0_131]
    at java.lang.Class.getDeclaredConstructor( ~[na:1.8.0_131]
    at org.springframework.web.reactive.result.method.annotation.ModelAttributeMethodArgumentResolver.createAttribute( ~[spring-webflux-5.0.0.RELEASE.jar:5.0.0.RELEASE]

Affects: 5.0 GA

Referenced from: commits 950edf8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.