Uploaded image for project: 'ServiceMix 4'
  1. ServiceMix 4
  2. SMX4-477

groovy-bundle references to wrong antlr versions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.2.0
    • 4.2.0
    • Bundles
    • None

    Description

      the groovy bundle imports antlr with version

       
      antlr*;version="[2.7.6,3)"
      

      ServiceMix ships with AntLR 3.0.1 which will not be used by the above import statement and therefor writes the following exception
      on SMX startup:

       
      karaf@root> ERROR: Error starting mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.groovy/1.5.6_3 (org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.servicemix.bundles.groovy [182]: package; (&(package=antlr)(version>=2.7.6)(!(version>=3.0.0))))
      org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.servicemix.bundles.groovy [182]: package; (&(package=antlr)(version>=2.7.6)(!(version>=3.0.0)))
      at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3263)
      at org.apache.felix.framework.Felix.startBundle(Felix.java:1597)
      at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1077)
      at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
      at java.lang.Thread.run(Thread.java:619)
      ERROR: Error starting mvn:com.google.code.scriptengines/scriptengines-groovy/1.1 (org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.servicemix.bundles.groovy [182]: package; (&(package=antlr)(version>=2.7.6)(!(version>=3.0.0))))
      org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.servicemix.bundles.groovy [182]: package; (&(package=antlr)(version>=2.7.6)(!(version>=3.0.0)))
      at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3263)
      at org.apache.felix.framework.Felix.startBundle(Felix.java:1597)
      at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1077)
      at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
      at java.lang.Thread.run(Thread.java:619)
      

      Attachments

        Activity

          People

            lhein Lars Heinemann
            lhein Lars Heinemann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: