You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used the classic Jaxrs ClientBuilder to create a client and manually shake hands to a simple API that returns a simple long type in literal form and content type is text/plain.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I used the classic Jaxrs ClientBuilder to create a client and manually shake hands to a simple API that returns a simple long type in literal form and content type is text/plain.
Example Codes: https://github.com/hantsy/quarkus-sandbox/tree/master/restclient-jaxrs
But I encountered the following classic error,
RESTEASY003145: Unable to find a MessageBodyReader of content-type text/plain and type class java.lang.Long
Which providers I should register in
client
to fix this?Beta Was this translation helpful? Give feedback.
All reactions