Unable to submit JSON data to my JAX-RS resource deployed in EAP

Solution Verified - Updated -

Issue

I have a valid JSON and when I submit this to my JAX-RS Resource I have the following error

org.jboss.resteasy.plugins.providers.jaxb.JAXBUnmarshalException: javax.xml.bind.UnmarshalException

What am I doing wrong?

Environment

  • JBoss Enterprise Application Platform
    • 5.x
    • 6.x
  • RESTEasy
    • 1.x
    • 2.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In