1 Reply Latest reply on Mar 12, 2012 3:58 AM by sekaijin

    org.slf4j.impl dependence problem.

    sekaijin

      Hi.

       

      In Apache-ServiceMix-4.4.1-fuse-01-13 from now when I start a bundle, I've :

       

      Error executing command: Unresolved constraint in bundle hermes-config : Unable to resolve 172.0: missing requirement package; (&(package=org.slf4j.impl)(version>=1.6.0)(!(version>=2.0.0)))

       

      I do not remember having this problem. I always  have had SLF4J in my dependencies

       

      Thank

      A+JYT

        • 1. Re: org.slf4j.impl dependence problem.
          sekaijin

          HI.

           

          I added a library that uses the code:

          import org.slf4j.impl.StaticLoggerBinder;

          ...

          logger = StaticLoggerBinder.getSingleton().getLoggerFactory().getLogger(classe.getName());

          whereas previously used it

          import org.slf4j.LoggerFactory;

          ...

          LoggerFactory.getLogger(classe.getName());

           

          I changed the call in the lib and it works well

          thank you

          A + JYT