Uploaded image for project: 'SLF4J'
  1. SLF4J
  2. SLF4J-86

The org.log4j.Category class is missing the getInstance() methods

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • None
    • 1.5.x
    • log4j-over-slf4j
    • None
    • Operating System: Windows XP
      Platform: PC

    Description

      The JFig (http://jfig.sourceforge.net/) class

      org.igfay.util.PropertyUtility

      class uses the deprecated method org.log4j.Category.getInstance(String) which is not yet provided by SLF4J.

      [7/31/08 14:49:45:704 CEST] 00000018 ServletWrappe E SRVE0100E: Did not realize init() exception thrown by servlet ActionServlet: java.lang.NoSuchMethodError: org/apache/log4j/Category.getInstance(Ljava/lang/String;)Lorg/apache/log4j/Category;
      at org.igfay.util.PropertyUtility.<clinit>(PropertyUtility.java:17)
      at java.lang.Class.initializeImpl(Native Method)
      at java.lang.Class.initialize(Class.java:339)
      at org.igfay.jfig.JFigParser.<clinit>(JFigParser.java:37)
      at java.lang.Class.initializeImpl(Native Method)
      at java.lang.Class.initialize(Class.java:339)
      at java.lang.Class.initialize(Class.java:318)
      at org.igfay.jfig.JFig.getParser(JFig.java:323)
      at org.igfay.jfig.JFig.processConfig(JFig.java:185)
      at org.igfay.jfig.JFig.<init>(JFig.java:58)
      at org.igfay.jfig.JFig.initialize(JFig.java:215)

      Attachments

        Activity

          People

            slf4j-dev SLF4J developers list
            CalmDemon Michael Rumpf
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: