Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-368

PatternLayout in 1.2 bridge missing constructor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-beta8
    • 2.0-beta9
    • Log4j 1.2 bridge
    • None
    • Velocity 1.7 hits this

    Description

      java.lang.NoSuchMethodError: org.apache.log4j.PatternLayout.<init>(Ljava/lang/String;)V
      at org.apache.velocity.runtime.log.Log4JLogChute.initAppender(Log4JLogChute.java:117) ~[velocity-1.7-dep.jar:1.7]
      at org.apache.velocity.runtime.log.Log4JLogChute.init(Log4JLogChute.java:85) ~[velocity-1.7-dep.jar:1.7]
      at org.apache.velocity.runtime.log.LogManager.createLogChute(LogManager.java:157) ~[velocity-1.7-dep.jar:1.7]
      at org.apache.velocity.runtime.log.LogManager.updateLog(LogManager.java:269) ~[velocity-1.7-dep.jar:1.7]
      at org.apache.velocity.runtime.RuntimeInstance.initializeLog(RuntimeInstance.java:871) ~[velocity-1.7-dep.jar:1.7]
      at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:262) ~[velocity-1.7-dep.jar:1.7]
      at org.apache.velocity.runtime.RuntimeInstance.requireInitialization(RuntimeInstance.java:302) ~[velocity-1.7-dep.jar:1.7]
      at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1531) ~[velocity-1.7-dep.jar:1.7]
      at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:343) ~[velocity-1.7-dep.jar:1.7]

      Attachments

        Activity

          People

            rgoers Ralph Goers
            gus Gus Heck
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: