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.
> 
> 

Reply via email to