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

Suggest:adding explanations of multi-module application compilation parameters in the document. #1061

Open
uliian opened this issue Apr 24, 2024 · 0 comments

Comments

@uliian
Copy link

uliian commented Apr 24, 2024

In a multi-module application, if the controller is in a sub-module, the generated parameters will not be able to properly parse the parameter names of methods. It will generate parameter names like arg0, arg1, and so on. If these parameter names are used to correspond to the parameter names in the query string, parameter binding will not work properly. The solution to this problem is: when compiling Java code, add the compilation parameter: -parameters, and when compiling Kotlin code, add the -javaParameters parameter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant