Even though I had removed the dependency of log4j-to-slf4j and log4j-slf4j-impl from my pom.xml file, I still keep getting the same error. I already did a mvn depend