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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content