Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-7859

Multiple bundles provide javax.inject

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.4.6
    • 4.4.7
    • karaf
    • None

    Description

      Karaf-provided features are confused about which jar provides the javax.inject package:

      • specs' cdi feature is using mvn:org.apache.geronimo.specs/geronimo-atinject_1.0_spec/1.2
      • enterprise's transaction-api feature is using mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.javax-inject/1_3

      This leads to re-wiring if one of those features is incrementally installed. Use one of those jars: it seems geronimo-atinject seems to be superior.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            nite Robert Varga
            nite Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment