Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-5168

error loading spring-web-3.2.14.RELEASE_1

XMLWordPrintable

    • % %
    • 6.3 Sprint 4 (Mar 28 - Apr 29)

      This error happens on the fuse-full distribution 033 build trying to install this feature from integration pack:

      https://github.com/jboss-integration/fuse-bxms-integ/blob/master/quickstarts/karaf-features/src/main/resources/features.xml#L103

      I ve already included the PR done by tcunning@redhat.com

      https://github.com/jboss-fuse/switchyard/pull/106/files

      Chain 1:
        org.apache.servicemix.bundles.spring-webmvc [503.0]
          import: (&(osgi.wiring.package=javax.servlet)(version>=2.4.0)(!(version>=4.0.0)))
           |
          export: osgi.wiring.package=javax.servlet
        org.apache.geronimo.specs.geronimo-servlet_3.0_spec [419.0]
      
      Chain 2:
        org.apache.servicemix.bundles.spring-webmvc [503.0]
          import: (&(osgi.wiring.package=org.apache.velocity.context)(version>=1.5.0)(!(version>=2.0.0)))
           |
          export: osgi.wiring.package=org.apache.velocity.context; uses:=org.apache.activemq
        org.apache.servicemix.bundles.velocity [214.0]
          import: (osgi.wiring.package=*)
           |
          export: osgi.wiring.package=org.apache.activemq; uses:=javax.servlet
          export: osgi.wiring.package=javax.servlet
        javax.servlet-api [81.0]
      	at org.apache.karaf.features.internal.FeaturesServiceImpl.doInstallFeatures(FeaturesServiceImpl.java:550)[10:org.apache.karaf.features.core:2.4.0.redhat-630033]
      	at org.apache.karaf.features.internal.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:432)[10:org.apache.karaf.features.core:2.4.0.redhat-630033]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_55]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_55]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_55]
      	at java.lang.Thread.run(Thread.java:744)[:1.7.0_55]
      Caused by: org.osgi.framework.BundleException: Uses constraint violation. Unable to resolve bundle revision org.apache.servicemix.bundles.spring-webmvc [503.0] because it is exposed to package 'javax.servlet' from bundle revisions org.apache.geronimo.specs.geronimo-servlet_3.0_spec [419.0] and javax.servlet-api [81.0] via two dependency chains.
      
      Chain 1:
        org.apache.servicemix.bundles.spring-webmvc [503.0]
          import: (&(osgi.wiring.package=javax.servlet)(version>=2.4.0)(!(version>=4.0.0)))
           |
          export: osgi.wiring.package=javax.servlet
        org.apache.geronimo.specs.geronimo-servlet_3.0_spec [419.0]
      
      Chain 2:
        org.apache.servicemix.bundles.spring-webmvc [503.0]
          import: (&(osgi.wiring.package=org.apache.velocity.context)(version>=1.5.0)(!(version>=2.0.0)))
           |
          export: osgi.wiring.package=org.apache.velocity.context; uses:=org.apache.activemq
        org.apache.servicemix.bundles.velocity [214.0]
          import: (osgi.wiring.package=*)
           |
          export: osgi.wiring.package=org.apache.activemq; uses:=javax.servlet
          export: osgi.wiring.package=javax.servlet
        javax.servlet-api [81.0]
      	at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4006)[org.apache.felix.framework-4.4.1.jar:]
      	at org.apache.felix.framework.Felix.startBundle(Felix.java:2045)[org.apache.felix.framework-4.4.1.jar:]
      	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:976)[org.apache.felix.framework-4.4.1.jar:]
      	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:963)[org.apache.felix.framework-4.4.1.jar:]
      	at org.apache.karaf.features.internal.FeaturesServiceImpl.doInstallFeatures(FeaturesServiceImpl.java:546)[10:org.apache.karaf.features.core:2.4.0.redhat-630033]
      	... 5 more
      
      
      

            psiroky_jira Petr Široký (Inactive)
            virchete_jira David virgil naranjo (Inactive)
            Martin Basovnik Martin Basovnik (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: