Closed capdav closed 1 year ago
I confirm I encountered it. But I thought it was solved. I'll check that.
Are you using the 2.0 version of the plugin ?
Etienne
Ok thanks for the confirmation ;-)
Yes, we are using the 2.0 version
Hello,
I added the oauth2 capability to the forum sample (provided in the maven plug-in project). It works.
Are you using the ´OAuthTokenExtractor´ class from a copy/paste, or from the plug-in runtime ?
Étienne
Hello Etienne,
From the plug-in generated classes ;-)
If you set the plug-in parameter ´copyRuntimeSources´ to false (which is its default value), then it works!
The ´createError()´ method is not used. So this issue occurs if the code is compiled with a spring framework 6 version. And the runtime is currently compiled against a 5 version.
It will be solved in the next version.
Étienne
Solved in the 2.1 release
Great! Thanks a lot Etienne.. Sorry for my late reply
Hello Etienne,
Seems there is an issue with what is generated for Spring 6 in public static class GetOAuthTokenClientResponse implements ClientResponse
We have the following exception: com.graphql_java_generator.client.OAuthTokenExtractor.GetOAuthTokenClientResponse is not abstract and does not override abstract methodcreateError() in org.springframework.web.reactive.function.client.ClientResponse
Do you confirm?
Thanks, DAvid