2 Replies Latest reply on Feb 2, 2010 8:04 AM by Gerhard van Staden

    log4j not in OSGI bundle path

    Gerhard van Staden Newbie

      Good day.

       

      I'm deploying an OSGI bundle that requires log4j to be available at runtime.

      Now, I have included log4j as a dependency to my "pom.xml", the bundle builds and deploys perfectly, but when I start the bundle it get this error :

       

      java.lang.NoClassDefFoundError: org/apache/log4j/FileAppender

       

      (This can be any log4J class)

       

      I understand that log4j is part of the FUSE runtime, no how do I make it available to my bundle at runtime.

       

      Any help appreciated

      Regards

      G.