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

java.lang.NoSuchFieldError: name at org.slf4j.impl.Log4jLoggerAdapter.<init>(Log4jLoggerAdapter.java:75)

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Incomplete
    • None
    • 1.5.x
    • Unspecified
    • None
    • Operating System: Windows XP
      Platform: PC

    Description

      I'm using Grails which uses slf4j 1.5.x. I've recently run into the following bug:

      java.lang.NoSuchFieldError: name
      at org.slf4j.impl.Log4jLoggerAdapter.<init>(Log4jLoggerAdapter.java:75)

      I took a look at the source for both Log4jLoggerAdapter.java and its parent class, MarkerIgnoringBase.java. Sure enough, no such field "name" exists in either class.

      This is causing build failures for my project that I cannot get past.

      Reproducing this bug should be a simple matter of creating an instance of Log4jLoggerAdapter.

      Attachments

        Activity

          People

            slf4j-dev SLF4J developers list
            mlachman Matt Lachman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: