wink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lars-Fredrik Smedberg <>
Subject Configuration for application/hal+json
Date Wed, 18 Dec 2013 14:26:23 GMT

I want to be able to return a JSON structure that follows the Hypertext
Application, HAL. The media type should then be: application/hal+json

When I tried to mark the resource method with:


I got the following error when calling the resource:

[ERROR   ] The system could not find a or
a DataSourceProvider class for the <our model class type> type and
application/hal+json mediaType.  Ensure that a exists in the JAX-RS application for the
type and media type specified.

I would like to use the exact same MessageBodyWriter that is configured for

How can i configure this to work as described above?


Med vänlig hälsning / Best regards

Lars-Fredrik Smedberg

The information contained in this electronic message and any
attachments to this message are intended for the exclusive use of the
address(es) and may contain confidential or privileged information. If
you are not the intended recipient, please notify Lars-Fredrik Smedberg
immediately at, and destroy all copies of this
message and any attachments.

View raw message