Prevented freemarker initializing log4j