java.lang.NoSuchMethodError

org.apache.log4j.MDC.put(Ljava/lang/String;Ljava/lang/String;)V

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web12346

  • org.apache.log4j.MDC.put(Ljava/lang/String;Ljava/lang/String;)V
  • via Stack Overflow by Daryl
    , 1 year ago
    org.apache.log4j.MDC.put(Ljava/lang/String;Ljava/lang/String;)V
  • via redhat.com by Unknown author, 1 year ago
    org.apache.log4j.MDC.put(Ljava/lang/String;Ljava/lang/String;)V
  • Stack trace

    • java.lang.NoSuchMethodError: org.apache.log4j.MDC.put(Ljava/lang/String;Ljava/lang/String;)V at org.sonar.ce.log.CeLogging.initForTask(CeLogging.java:107)[sonar-server-5.6.jar:na] at org.sonar.server.computation.taskprocessor.CeWorkerCallableImpl.executeTask(CeWorkerCallableImpl.java:72)[sonar-server-5.6.jar:na] at org.sonar.server.computation.taskprocessor.CeWorkerCallableImpl.call(CeWorkerCallableImpl.java:56)[sonar-server-5.6.jar:na] at org.sonar.server.computation.taskprocessor.CeWorkerCallableImpl.call(CeWorkerCallableImpl.java:35)[sonar-server-5.6.jar:na] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_101] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[na:1.8.0_101] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_101] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[na:1.8.0_101] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[na:1.8.0_101] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_101] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_101] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_101]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.