Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-1001

jaxrs subsystem pulls in javax.xml.bind.api module for every deployment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • None
    • Class Loading, REST
    • None
    • Hide

      Exclude the javaee.api and see that javax.xml.bind.api is still added to a deployment.

      Show
      Exclude the javaee.api and see that javax.xml.bind.api is still added to a deployment.
    • Hide

      Just exclude the jaxrs subsystem or the javax.xml.bind.api module in addition to javaee.api.

      Show
      Just exclude the jaxrs subsystem or the javax.xml.bind.api module in addition to javaee.api.

      The jaxrs subsystem automatically pulls in the JAXB API module for every single deployment, even if they don't have a JAX-RS component in them. This is normally not noticed since javax.xml.bind.api is already added to the deployment via javaee.api, but you want to include your own version of JAXB in your deployment, then you will need to exclude javaee.api, which is expected. But it's not expected to have to exclude the jaxrs subsystem, too.

            rh-ee-klape Kyle Lape
            rh-ee-klape Kyle Lape
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: