You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by alexey-s <al...@mail.ru> on 2016/05/24 14:56:27 UTC

Error in Karaf: Unknown protocol: mvn

Explain why the assembly 2.17.1 by May August 2016, the class
org.apache.camel.util.LRUCache differs from
https://github.com/apache/camel/blob/master/camel-core/src/main/java/org/apache/camel/util/LRUCache.java
?

Last Update 1f48a57  on 31 Mar @davsclaus davsclaus CAMEL-8602: Java 8:
ConcurrentLinkedHashMap -> Caffeine

Use import classes

but in this JAR have


I get an error



Regards, Alexey.



--
View this message in context: http://camel.465427.n5.nabble.com/Error-in-Karaf-Unknown-protocol-mvn-tp5783042.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Error in Karaf: Unknown protocol: mvn

Posted by alexey-s <al...@mail.ru>.
In the file camel-core-2.17.1.jar, internal file META-INF/MANIFEST.MF have
row
Ignore-Package: com.googlecode.concurrentlinkedhashmap

but this package use in class org.apache.camel.util.LRUCache.

It's errror for OSGi.

Add this package to parameter Import-Package, or change usage classes 
ConcurrentLinkedHashMap and EvictionListener from package
"com.googlecode.concurrentlinkedhashmap" to
"org.apache.camel.com.googlecode.concurrentlinkedhashmap".


Regards, Alexey



--
View this message in context: http://camel.465427.n5.nabble.com/Error-in-Karaf-Unknown-protocol-mvn-tp5783042p5783060.html
Sent from the Camel - Users mailing list archive at Nabble.com.