GET request fails with JAX-RS: Could not find MessageBodyWriter for response object of type: java.util.ArrayList of media type: text/html
问题 I'm building a sample client-server with JAX-RS using JEE7. I'm using Wildfly 10.1 I followed the guy in this video. Here is the code of the war that runs on the application server: boundary package contains the service package pl.devcrowd.virtual.business.chickens.boundary; import java.util.List; import javax.ejb.Stateless; import javax.inject.Inject; import pl.devcrowd.virtual.business.chickens.controls.ChickenStore; import pl.devcrowd.virtual.business.chickens.entity.Chicken; @Stateless