TDYSmartBear
7 years agoOccasional Contributor
Receive error when return data is ArrayList
Hi all,
The application front end can retrieve return ArralyList via REST call using Wildfly 10. However when running tests via ReadyAPI calling the same APIs got follow error:
Could not find MessageBodyWriter for response object of type: java.util.ArrayList of media type: application/octet-stream
Application: Java backend 1.8
Request media-type: application/json
Response: media-type: application/json or application/octet-stream
Does anybody have any insight on this? Thanks in advance!