0 Replies Latest reply on Aug 1, 2002 11:34 AM by Gianluca

    JBoss 3.0 and Log4J

    Gianluca Newbie

      Please Help me !!
      I use log4j in my web application (i have some jar files in witch i've inserted EJB and the war file).
      All it's ok until i try to redeploy application ...
      Error is:
      java.lang.LinkageError: loader constraints violated when linking org/apache/log4j/Logger class
      at org.apache.log4j.Logger.getLogger(Logger.java:85)
      at ...


      I use in my classes code like ...
      public MyClass(){
      private Logger log=null;

      public MyClass(){
      log=Logger.getLogger();
      }

      }