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

quarkus-spring-api @postMapping do not support @RequestParam #19919

Closed
Liloupar opened this issue Sep 5, 2021 · 4 comments
Closed

quarkus-spring-api @postMapping do not support @RequestParam #19919

Liloupar opened this issue Sep 5, 2021 · 4 comments
Labels
area/spring Issues relating to the Spring integration kind/bug Something isn't working

Comments

@Liloupar
Copy link

Liloupar commented Sep 5, 2021

Describe the bug

 @PostMapping(path = "/person")
    public Integer newGreeting(@RequestParam Integer type) {
        return type;
    }

expect return type value,
but throw

javax.ws.rs.NotSupportedException: RESTEASY003200: Could not find message body reader for type: class java.lang.Integer of content type: application/x-www-form-urlencoded

Expected behavior

No response

Actual behavior

No response

How to Reproduce?

No response

Output of uname -a or ver

No response

Output of java -version

No response

GraalVM version (if different from Java)

No response

Quarkus version or git rev

No response

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

No response

@Liloupar Liloupar added the kind/bug Something isn't working label Sep 5, 2021
@quarkus-bot
Copy link

quarkus-bot bot commented Sep 5, 2021

/cc @geoand

@quarkus-bot quarkus-bot bot added the area/spring Issues relating to the Spring integration label Sep 5, 2021
@geoand
Copy link
Contributor

geoand commented Sep 6, 2021

Thanks for reporting.

I'll have a look soon

@geoand
Copy link
Contributor

geoand commented Sep 17, 2021

This can be done after #20195

@Liloupar
Copy link
Author

Liloupar commented Sep 18, 2021

这可以在#20195之后完成

Thanks a lot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/spring Issues relating to the Spring integration kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants