snowdrop-zen / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
1 stars 0 forks source link

Replace "Could not find MessageBodyWriter for response object of type: java.util.ArrayList of media type: application/json" with helpful tip #404

Closed snowdrop-bot closed 3 years ago

snowdrop-bot commented 3 years ago

Description

if you forget to add quarkus-resteasy-jackson or quarkus-resteasy-jsonb and try open rest endpoint returning json you just get a single line:

Could not find MessageBodyWriter for response object of type: java.util.ArrayList of media type: application/json

Could we be helpful and give a hint to user that what is missing is a json handler, probably missing quarkus-resteasy-jackon or quarkus-resteasy-jsonb ....

Implementation ideas

No response


https://github.com/quarkusio/quarkus/issues/19756


$upstream:19756$