FreeMarker template error (DEBUG mode; use RETHROW in production!): Template inclusion failed (for parameter value "../includes/2017static.ftl"): Template not found for name "site/../includes/2017static.ftl" (normalized: "includes/2017static.ftl"). The name was interpreted by this TemplateLoader: FileTemplateLoader(baseDir="/alidata1/data/davinfo/deployment/davinfo-ftl", canonicalBasePath="/alidata1/data/davinfo/deployment/davinfo-ftl/"). ---- FTL stack trace ("~" means nesting-related): - Failed at: #include "../includes/2017static.ftl" [in template "site/index.ftl" at line 11, column 5] ---- Java stack trace (for programmers): ---- freemarker.core._MiscTemplateException: [... Exception message was already printed; see it above ...] at freemarker.core.Include.accept(Include.java:164) at freemarker.core.Environment.visit(Environment.java:330) at freemarker.core.Environment.visit(Environment.java:336) at freemarker.core.Environment.process(Environment.java:309) at freemarker.template.Template.process(Template.java:384) at com.davinfo.platform.common.servlet.BaseContentServlet.doGet(BaseContentServlet.java:127) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:723) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302) at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:213) at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:171) at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145) at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92) at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.davinfo.core.common.filter.SetEncodingFilter.doFilter(SetEncodingFilter.java:44) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:879) at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:617) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1778) at java.lang.Thread.run(Thread.java:748) Caused by: freemarker.template.TemplateNotFoundException: Template not found for name "site/../includes/2017static.ftl" (normalized: "includes/2017static.ftl"). The name was interpreted by this TemplateLoader: FileTemplateLoader(baseDir="/alidata1/data/davinfo/deployment/davinfo-ftl", canonicalBasePath="/alidata1/data/davinfo/deployment/davinfo-ftl/"). at freemarker.template.Configuration.getTemplate(Configuration.java:2797) at freemarker.core.Environment.getTemplateForInclusion(Environment.java:2540) at freemarker.core.Include.accept(Include.java:162) ... 33 more 玩彩网