Uploaded image for project: 'Common Controller SDK'
  1. Common Controller SDK
  2. CCSDK-1034

jersey version conflict between restapi-call-node and Fluorine aaa-shiro

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Highest Highest
    • Dublin Release
    • Dublin Release
    • sli/plugins
    • None

      If restapi-call-node is installed in Fluorine, container does not come up properly due to version conflict.  ODL Fluorine ships with jersey version 2.25.1, but restapi-call-node currently requires version 2.27.

      This worked fine in Casablanca/Oxygen.  However, in Dublin/Fluorine, if restapi-call-node is installed, the OpenDaylight aaa-shiro fails with the following exception:

      2019-02-05T14:26:04,430 | ERROR | Blueprint Extender: 3 | BlueprintContainerImpl | 83 - org.apache.aries.blueprint.core - 1.8.3 | - | Unable to start blueprint container for bundle org.opendaylight.aaa.shiro/0.8.1 org.osgi.service.blueprint.container.ComponentDefinitionException: Error when instantiating bean webInitializer of class org.opendaylight.aaa.shiro.web.env.WebInitializer at org.apache.aries.blueprint.container.BeanRecipe.wrapAsCompDefEx(BeanRecipe.java:361 [83:org.apache.aries.blueprint.core:1.8.3]
       

      ...

      Caused by: java.lang.NoSuchFieldError: INCLUDE_ALL

              at org.glassfish.jersey.server.ResourceConfig$State.<init>(ResourceConfig.java:114) ~[?:?]

              at org.glassfish.jersey.server.ResourceConfig.<init>(ResourceConfig.java:356) ~[?:?]

            djtimoney Dan Timoney
            djtimoney Dan Timoney
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: