@Autowired(required = true) public IndexService(String ftlPath, String outPath) { super(); if (util == null) { this.outPath = outPath; util = FreemarkerUtil.getInstance(ftlPath); } }