2 Replies Latest reply on Dec 17, 2015 2:05 PM by KRISHNA KANAKALA

    Error installing quickstart rest example on Fuse

    Luuk van Rens Newbie

      Hi,

       

      I've just started experimenting with JBoss Fuse. Downloaded the environment, did the whole video tutorial and now started with the quickstarts. ( https://github.com/jboss-fuse/quickstarts/tree/master/rest )

       

      The build was successfully after a few changes in the POM (versions for the dependencies). But now I'm trying to install it on JBossFuse using the console and I get the follow message:

       

       

      JBossFuse:karaf@root> osgi:install -s mvn:org.jboss.quickstarts.fuse/rest/6.2.0.redhat-133

      Bundle ID: 313

      Error executing command: Error installing bundles:

          Unable to start bundle mvn:org.jboss.quickstarts.fuse/rest/6.2.0.redhat-133: Unresolved constraint in bundle rest [313]: Unable to resolve 313.0: missing requirement [313.0] osgi.wiring.package; (&(osgi.wiring.package=org.apache.cxf.jaxrs.ext)(version>=3.1.0)(!(version>=4.0.0)))

       

      What am I doing wrong, am I missing something obvious?

       

      Thanks for the help,

       

      Luuk

        • 1. Re: Error installing quickstart rest example on Fuse
          Claus Ibsen Master

          That example is not for your fuse version.

           

          You need to use the quickstart that is shipped with your JBoss Fuse 6.2.0 release. You can find them in the quickstarts directory of your fuse installation.

          • 2. Re: Error installing quickstart rest example on Fuse
            KRISHNA KANAKALA Novice

            I am trying to install Fuse version of rest , but it reporting below issue .

             

            Tried project version as JBoss Fuse version and SNAPShot version

             

             

            4:00:26,306 | ERROR | l Console Thread | Console                          | 34 - org.apache.karaf.shell.console - 2.4.0.redhat-620133 | Exception caught while executing command

            org.apache.karaf.shell.console.MultiException: Unable to add repositories:

            Error resolving artifact org.jboss.quickstarts.fuse:rest:xml:features:1.2.0-SNAPSHOT: Could not find artifact org.jboss.quickstarts.fuse:rest:xml:features:1.2.0-SNAPSHOT

            at org.apache.karaf.shell.console.MultiException.throwIf(MultiException.java:91)

            at org.apache.karaf.features.command.AddUrlCommand.doExecute(AddUrlCommand.java:47)

             

            Thanks,

            Krishna