Declarative client with query parameters resulting in "no implementation found for this method" #11563
Replies: 1 comment
-
well just resolved this, I migrated to low level and I received the error "Caused by: java.lang.NoClassDefFoundError: io/micronaut/http/client/HttpClient interestingly the low level client, becuase it actually needs the class directly failed to start up, but the declarative one threw the above error which did not highlight the missing dependency. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have the following client interface
and service method calling this
under test code (using
@MicronautTest
this works perfectly and generates urls exactly as expected, and makes the calls off the test server and gets responses, all works fine.however when running the application I get the following exception error
can anyone help explain, either what am I missing in the non-testruntime, or why on earth this doesn't work??
I know can fallback on the low-level client, but I'd rather not as the declarative is so much neater
Beta Was this translation helpful? Give feedback.
All reactions