Yeah use camel-swagger-java from Camel 2.16 onwards. The old scala
based is deprecated and dont work really in OSGi.

On Fri, Nov 13, 2015 at 6:17 PM, Matt Sicker <[email protected]> wrote:
> I'm not sure where to report this bug: Karaf or Camel. When I add the Camel
> repository and use "feature:install camel-swagger", I get the following
> error:
>
> Error executing command: Can't install feature camel-swagger/0.0.0:
> Could not start bundle
> mvn:com.fasterxml.jackson.module/jackson-module-scala_2.10/2.6.1 in
> feature(s) camel-swagger-2.17-SNAPSHOT: Unresolved constraint in bundle
> com.fasterxml.jackson.module.jackson.module.scala [99]: Unable to resolve
> 99.0: missing requirement [99.0] osgi.wiring.package;
> (&(osgi.wiring.package=com.fasterxml.jackson.module.paranamer)(version>=2.6.0)(!(version>=3.0.0)))
>
> I was able to fix this by manually installing the following bundles:
> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.javax-inject/1_2
> wrap:mvn:com.thoughtworks.paranamer/paranamer/2.6
> mvn:com.fasterxml.jackson.module/jackson-module-paranamer/2.6.1
>
> These seem to be missing dependencies from the camel feature file.
>
> --
> Matt Sicker <[email protected]>



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to