jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: Missing dependencies in maven jackrabbit-core 1.4.6 ?
Date Wed, 22 Oct 2008 12:28:56 GMT
Hi,

jackrabbit-core only has a dependency to slf4j-api, the API part of slf4j. which
implementation you use in your application is up to you. e.g. the regression
tests for jackrabbit-core use slf4j-log4j12.

regards
 marcel

Jerome Blanchard wrote:
> Hy, 
> 
> I'm using jackrabbit-core as a maven dependency in my project and it
> seems the jar slf4j-simple-1.3.0.jar dependency is not found.
> 
> In fact in this call : 
> 
> RegistryHelper.registerRepository(ctx, "jackrabbit", jcrConfigFile,
> jcrHomeDir, true); 
> 
> in line 74 an InvocationTargetException caused by a
> ClassNotFoundException is raised on class
> org.slf4j.impl.StaticLoggerBinder
> 
> In the getting starting, First Hops of the documentation, there is a
> library dependency on slf4j-simple-1.3.0.jar but in the
> jackrabbit-core.pom file this dependency is just used in the test
> scope...
> 
> Did I have to include the dependency manually in my project pom file or
> did I make a mistake somewhere ?
> 
> It will be very helpfull for me if somebody will have the right
> solution. 
> 
> Thanks, Jérôme.
> 
> 


Mime
View raw message