rxue / dictionary

Practice in Java EE
0 stars 0 forks source link

dictionary/web : sub-task of #93 - improve REST endpoint - VocabulariesResource #120

Closed rxue closed 8 months ago

rxue commented 8 months ago

TODO

rxue commented 8 months ago

Got the error response with request http://localhost/dictionary/rest/vocabularies/en;explanation_language=en/take : Could not find MessageBodyWriter for response object of type: java.util.ArrayList of media type: text/html;charset=UTF-8

Analysis and guess

Default MessageBodyWriter of RestEasy was not invoked since there is no constraint definition on the response data type among the @GET method

rxue commented 8 months ago

TODO Change on DTO : refactor the DTO so that i could be used easily used when adding new object to resource