Well, Pax Exam 2.6.0 certainly hasn't changed within the last few
days, so it must be something in your environment ;-)

Your POM lists Pax Exam 2.6.0, but the stacktrace mentions a feature
names exam-2.4.0 - that's somehow suspicious.

I'd suggest you use an OSGi shell to find out which bundles are
unresolved, or which packages are installed with unexpected versions.

Best regards,
Harald

2013/1/8 Michael Szalay <michael.sza...@basis06.ch>:
> Hi all
>
> since a few days, all our pax exam karaf integration tests do not work 
> anymore.
>
> The error message is:
>
> java.lang.Exception: Could not start bundle 
> mvn:org.ops4j.pax.swissbox/pax-swissbox-core/ in feature(s) exam-2.4.0: 
> Unresolved constraint in bundle org.ops4j.pax.swissbox.core [79]: Unable to 
> resolve 79.0: missing requirement [79.0] package; 
> (&(package=org.ops4j.lang)(version>=1.4.0))
>         at 
> org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:356)[21:org.apache.karaf.features.core:2.2.9]
>         at 
> org.apache.karaf.features.internal.FeaturesServiceImpl$1.run(FeaturesServiceImpl.java:988)[21:org.apache.karaf.features.core:2.2.9]
> Caused by: org.osgi.framework.BundleException: Unresolved constraint in 
> bundle org.ops4j.pax.swissbox.core [79]: Unable to resolve 79.0: missing 
> requirement [79.0] package; (&(package=org.ops4j.lang)(version>=1.4.0))
>         at 
> org.apache.felix.framework.Felix.resolveBundle(Felix.java:3564)[org.apache.felix.framework-3.2.2.jar:]
>         at 
> org.apache.felix.framework.Felix.startBundle(Felix.java:1797)[org.apache.felix.framework-3.2.2.jar:]
>         at 
> org.apache.felix.framework.BundleImpl.start(BundleImpl.java:927)[org.apache.felix.framework-3.2.2.jar:]
>         at 
> org.apache.felix.framework.BundleImpl.start(BundleImpl.java:914)[org.apache.felix.framework-3.2.2.jar:]
>         at 
> org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:353)[21:org.apache.karaf.features.core:2.2.9]
>
>
> We use the following versions pax and karaf exam:
>
>         <!-- PAX Exam -->
>         <dependency>
>             <groupId>org.apache.karaf.tooling.exam</groupId>
>             <artifactId>org.apache.karaf.tooling.exam.container</artifactId>
>             <version>2.3.0</version>
>         </dependency>
>         <dependency>
>             <groupId>org.ops4j.pax.exam</groupId>
>             <artifactId>pax-exam-junit4</artifactId>
>             <version>2.6.0</version>
>         </dependency>
>
> any hints what has changed here?
>
> Regards Michael
>
> _______________________________________________
> general mailing list
> general@lists.ops4j.org
> http://lists.ops4j.org/mailman/listinfo/general

_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to