java.lang.NoSuchMethodError: org.osgi.framework.Version.compareTo(Lorg/osgi/framework/Version;)I at org.apache.karaf.features.internal.FeaturesServiceImpl.getFeature(FeaturesServiceImpl.java:781) at org.ops4j.pax.scanner.features.internal.FeaturesScanner.features(FeaturesScanner.java:137) at org.ops4j.pax.scanner.features.internal.FeaturesScanner.scan(FeaturesScanner.java:106) at org.ops4j.pax.scanner.internal.ProvisionServiceImpl.scan(ProvisionServiceImpl.java:155) at org.ops4j.pax.scanner.internal.ProvisionServiceImpl.scan(ProvisionServiceImpl.java:93) at org.ops4j.pax.scanner.composite.internal.Activator$1.scan(Activator.java:57) at org.ops4j.pax.scanner.composite.internal.CompositeScanner.scan(CompositeScanner.java:168
Ioan Eugen Stan created PAXSCANNER-27
Using it with new versions of Pax runner gives:
java.lang.NoSuchMethodError: org.osgi.framework.Version.compareTo(Lorg/osgi/framework/Version;)I
at org.apache.karaf.features.internal.FeaturesServiceImpl.getFeature(FeaturesServiceImpl.java:781)
at org.ops4j.pax.scanner.features.internal.FeaturesScanner.features(FeaturesScanner.java:137)
at org.ops4j.pax.scanner.features.internal.FeaturesScanner.scan(FeaturesScanner.java:106)
at org.ops4j.pax.scanner.internal.ProvisionServiceImpl.scan(ProvisionServiceImpl.java:155)
at org.ops4j.pax.scanner.internal.ProvisionServiceImpl.scan(ProvisionServiceImpl.java:93)
at org.ops4j.pax.scanner.composite.internal.Activator$1.scan(Activator.java:57)
at org.ops4j.pax.scanner.composite.internal.CompositeScanner.scan(CompositeScanner.java:168
Affects: 1.1.0 Fixed in: 1.2.0 Votes: 0, Watches: 1