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
{{ message }}
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
Using RestEasy with the generated Rest client is failing with the following error.
ClassCastException : class org.jboss.resteasy.client.jaxrs.engines.ManualClosingApacheHttpClient43Engine$2 cannot be cast to class MyResponse
The reason is that the generated MyReponse inherits ResponseDelegate which inherits javax.ws.rs.core.Response. RESTEasy will return ManualClosingApacheHttpClient43Engine and it fails casting to MyReponse class.
How to get the generated code to work using RESTEasy?
The text was updated successfully, but these errors were encountered:
Yes, it does. It is like Jersey. Actually when I switched to Jersey, the deserialisation is failing also, but I am going to list this in another issue.
Using RestEasy with the generated Rest client is failing with the following error.
The reason is that the generated
MyReponse
inheritsResponseDelegate
which inheritsjavax.ws.rs.core.Response
. RESTEasy will returnManualClosingApacheHttpClient43Engine
and it fails casting toMyReponse
class.How to get the generated code to work using RESTEasy?
The text was updated successfully, but these errors were encountered: