Closed rxue closed 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
TODO Change on DTO : refactor the DTO so that i could be used easily used when adding new object to resource
TODO
@GET
method@GET
method'sexplanation_language
method parameter place of the current query parameterExplanationByPartOfSpeech
DTO (rename it with DTO suffix)