Uploaded image for project: 'netconf'
  1. netconf
  2. NETCONF-1294

MessageBodyWriter not found when using JaxRsFormattableBody

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: High High
    • 7.0.5
    • None
    • restconf-nb

      After switching to use JaxRsFormattableBody in https://git.opendaylight.org/gerrit/c/netconf/+/111290 and fixing NETCONF-1285 when invoking:

      GET: http://192.168.56.25:8181/rests/operations

      with Accept type application/json we are getting the following error in karaf.log:

      13:05:59.174 ERROR [qtp1631544456-704] MessageBodyWriter not found for media type=application/json, type=class org.opendaylight.restconf.nb.jaxrs.JaxRsFormattableBody, genericType=class org.opendaylight.restconf.nb.jaxrs.JaxRsFormattableBody.

            rovarga Robert Varga
            ivanhrasko Ivan Hrasko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: