Fixed: Explicitly added log4j dependency and fixed Logger and LogManager as these classes have moved to org.apache.logging.log4j package