"NATURAL JSON notation configured, but JAXB RI 2.1.10 not found." error when using Jersey on EAP 6

Solution Verified - Updated -

Issue

I got the below error to my server.log while loading my WAR file.

SEVERE [JSONConfiguration] NATURAL JSON notation configured, but JAXB RI 2.1.10 not found. For the recent builds to get this working correctly, you need even at least JAXB version 2.1.12. Please add it to your classpath!

Environment

  • JBoss Enterprise Application Platform (EAP) 6

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.