Unable to produce JSON response for an arraylist contaning java beans
posted 5 years ago
I am new to web services so trying out the tutorials over the net.
I am using JAX-RS tutorials for myeclipse.
I have created a demo application which successfully produces XML response for a list of entities but the same application if configured to produce JSON response for list of entities it is giving below error.
"A message body writer for Java type, class java.util.ArrayList, and MIME media type, application/json, was not found"