Rename any file from log4j* to log4j2* For example it should be like the below line: log4j.configuration >> log4j2.configuration
log4j.configuration >> log4j2.configuration