Issue with elastic search 5.0.0 - NoClassDefFoundError: org/apache/logging/log4j/Logger

Managed to get Logging to work with sbt Scala over slf4j with these deps:

  "org.slf4j" % "slf4j-simple" % "1.7.21",
  "org.apache.logging.log4j" % "log4j-api" % "2.6.2",
  "org.apache.logging.log4j" % "log4j-to-slf4j" % "2.6.2",

Note log4j 2.7 does not seem to work with ElasticSearch 5.0.0

1 Like