-
Bug
-
Resolution: Unresolved
-
Neutral
-
None
-
2.1.1
-
None
-
Magnolia 5.7.1 Java 9.0.1
Using a custom rest endpoint (extending info.magnolia.rest.AbstractEndpoint) throws the following exception:
org.jboss.resteasy.core.NoMessageBodyWriterFoundFailure: Could not find MessageBodyWriter for response object of type: java.util.ArrayList of media type: application/xml;charset=UTF-8 ... at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51) [resteasy-jaxrs-3.5.1.Final.jar:3.5.1.Final] at info.magnolia.rest.tools.SwaggerRestDispatcherServlet.service(SwaggerRestDispatcherServlet.java:141) [magnolia-rest-tools-2.1.1.jar:?]
It used to work fine on magnolia-5.6.x/rest-services-2.1/Java8.
I also tried the latest rest client jars (3.6.1.Final) and throws the same exception.
Git of testing module: https://git.magnolia-cms.com/users/ebguilbert/repos/tours-rest-angular-demo/browse
test request: /.rest/tours/v1?category=active&featured=false
Acceptance criteria
- mentioned in
-
Page Loading...