For Log4j2 you need the log4j-slf4j-impl dependency, which lives in the Log4j2 project. Don't use the slf4-log4j thing because it's for the old Log4j 1.2.