-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Gradle Kotlin DSL - Spring boot - parameter not working [java.lang.IllegalArgumentException: Name for argument of type...] - Integration Test #41992
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
Comments
Check the method parameters annotation: In my case in the controller:
I have to specify the variable name for integration tests. It seems that it is mandatory.
We changed And:
I seem to remember that in the past it was not necessary. |
I'll clarify the duplicate case. The fact of having the "-parameters" didn't make it work as I explained in the post that I suppose you've read. and as I put in this post, you have to specify the name of the parameter ("nameParams") to the parameter type. Otherwise, it won't work no matter how much you have "-parameters" Regards. |
I removed the |
I'm posting it here because I don't know who's fault it is, whether it's Srping or Gradle's.
gradle/gradle#30267
The text was updated successfully, but these errors were encountered: