Adding "log4j-core-2.22.1.jar" to "Annotation Processing | Factory Path" is not enough: Also "log4j-api-2.22.1.jar" must be added.