Try adding explicit log4j dependency to fix build issues.