karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré ...@nanthrax.net>
Subject Re: [Karaf] Missing requirement
Date Thu, 14 Dec 2017 14:49:22 GMT
Hi,

you should not depend to the sfl4j bundle directly.

Your bundles should just do an optional imports to slf4j: the slf4j packages are 
provided by pax-logging/log features already present in Karaf.

So basically, your kar should not embeds slf4j.

Regards
JB

On 12/14/2017 03:32 PM, GFO wrote:
> Hello,
> 
> I am builing an application for Apache Karaf.
> 
> I am using karaf-maven-plugin for packaging by app in a KAR archive.
> 
> My project has some dependencies, and I want them to be included in KAR
> file.
> 
> One of tese dependencies is slf4j. The KAR file contains it. But when I try
> to deploy my KAR file into Karaf, I have the following error :
> 
> 
> 
> Here is my pom.xml file:
> 
> 
> 
> Do you know where my problem comes from?
> 
> Thanks a lot!
> 
> 
> 
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
> 

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Mime
View raw message