Description
The jettison provider is commented out from default modules in JaxrsDependencyProcessor:
https://github.com/jbossas/jboss-eap7/commit/e247791a2de89c62afb5f71b33da8630a9d7826b
This causes that jettison provider is not found unless you use the following jboss-deployment-descriptor.xml in your application:
<?xml version="1.0" encoding="UTF-8"?> <jboss-deployment-structure> <deployment> <exclusions> <module name="org.jboss.resteasy.resteasy-jackson2-provider"/> <module name="org.jboss.resteasy.resteasy-jackson-provider"/> </exclusions> <dependencies> <module name="org.jboss.resteasy.resteasy-jettison-provider" services="import"/> </dependencies> </deployment> </jboss-deployment-structure>
The dependency to the jettison-provider is neccessary in order to trigger it. IMHO it should be triggered even without explicit dependency to it.
Is it ok if the resteasy jettison provider stays commented out and we add note into the migration notes? (There is a workaround if some customers wish to use it)
Attachments
Issue Links
- causes
-
JBEAP-2856 NoMessageBodyWriterFoundFailure when using NoJackson and json annotated resource
- Closed
- relates to
-
JBEAP-3147 Update resteasy-jettison provider module support to deprecated
- Closed
-
JBEAP-3301 Migration guide - jettison provider deprecated
- Closed