FreeMarker template error (DEBUG mode; use RETHROW in production!): Template inclusion failed (for parameter value "../public/local.html"): Template not found for name "../public/local.html". Reason given: Backing out from the root directory is not allowed. The name was interpreted by this TemplateLoader: FileTemplateLoader(baseDir="D:\web\fro\wwwroot\template\xuanhan", canonicalBasePath="D:\web\fro\wwwroot\template\xuanhan\"). ---- FTL stack trace ("~" means nesting-related): - Failed at: #include "../public/local.html" [in template "404.html" at line 18, column 17] ---- Java stack trace (for programmers): ---- freemarker.core._MiscTemplateException: [... Exception message was already printed; see it above ...] at freemarker.core.Include.accept(Include.java:160) at freemarker.core.Environment.visit(Environment.java:324) at freemarker.core.MixedContent.accept(MixedContent.java:54) at freemarker.core.Environment.visit(Environment.java:324) at freemarker.core.Environment.process(Environment.java:302) at freemarker.template.Template.process(Template.java:325) at cdcb.threadpool.util.FreemarkerUtil.process(FreemarkerUtil.java:129) at cdcb.threadpool.thread.CreateDataHandlerCallableThread.call(CreateDataHandlerCallableThread.java:33) at cdcb.threadpool.thread.CreateDataHandlerCallableThread.call(CreateDataHandlerCallableThread.java:1) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) Caused by: freemarker.template.TemplateNotFoundException: Template not found for name "../public/local.html". Reason given: Backing out from the root directory is not allowed. The name was interpreted by this TemplateLoader: FileTemplateLoader(baseDir="D:\web\fro\wwwroot\template\xuanhan", canonicalBasePath="D:\web\fro\wwwroot\template\xuanhan\"). at freemarker.template.Configuration.getTemplate(Configuration.java:1833) at freemarker.core.Environment.getTemplateForInclusion(Environment.java:2044) at freemarker.core.Include.accept(Include.java:158) ... 16 more