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

When compiling 2.17.0 java8 error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Information Provided
    • 2.17.0
    • None
    • Build
    • None

    Description

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project log4j-core: Compilation failure
      [ERROR] /builddir/build/BUILD/apache-log4j-2.17.0-src/log4j-core/src/main/java/org/apache/logging/log4j/core/async/DisruptorUtil.java:[76,23] error: no suitable constructor found for SleepingWaitStrategy(int,long)
      [ERROR]     constructor SleepingWaitStrategy.SleepingWaitStrategy() is not applicable
      [ERROR]       (actual and formal argument lists differ in length)
      [ERROR]     constructor SleepingWaitStrategy.SleepingWaitStrategy(int) is not applicable
      [ERROR]       (actual and formal argument lists differ in length)

      Attachments

        Activity

          People

            Unassigned Unassigned
            slava@ slava
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: