Log4j appender should be in resources folder, NOT resource folder.