FreeMarker template error (DEBUG mode; use RETHROW in production!):
Template inclusion failed (for parameter value "inc_header.html"):
Template not found for name "1/m/inc_header.html".
The name was interpreted by this TemplateLoader: MultiTemplateLoader(loader1 = com.molyfun.hellocms.common.freemarker.AdapterTemplateLoader@60871fda, loader2 = ClassTemplateLoader(resourceLoaderClass=org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer, basePackagePath="" /* relatively to resourceLoaderClass pkg */)).
----
FTL stack trace ("~" means nesting-related):
- Failed at: #include "inc_header.html" [in template "1/m/info_depart.html" at line 21, column 1]
----
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.visit(Environment.java:336)
at freemarker.core.Environment.process(Environment.java:309)
at freemarker.template.Template.process(Template.java:384)
at com.molyfun.hellocms.common.file.LocalFileHandler.storeFile(LocalFileHandler.java:151)
at com.molyfun.hellocms.core.html.PInfo.doMakeHtml(PInfo.java:138)
at com.molyfun.hellocms.core.html.PInfo.makeHtml(PInfo.java:53)
at com.molyfun.hellocms.core.html.HtmlServiceImpl.makeInfo(HtmlServiceImpl.java:146)
at com.molyfun.hellocms.core.html.HtmlServiceImpl$$FastClassBySpringCGLIB$$578a952a.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:736)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:671)
at com.molyfun.hellocms.core.html.HtmlServiceImpl$$EnhancerBySpringCGLIB$$c421fb02.makeInfo()
at com.molyfun.hellocms.core.html.HtmlGeneratorImpl.lambda$makeInfo$1(HtmlGeneratorImpl.java:62)
at java.lang.Thread.run(Thread.java:748)
Caused by: freemarker.template.TemplateNotFoundException: Template not found for name "1/m/inc_header.html".
The name was interpreted by this TemplateLoader: MultiTemplateLoader(loader1 = com.molyfun.hellocms.common.freemarker.AdapterTemplateLoader@60871fda, loader2 = ClassTemplateLoader(resourceLoaderClass=org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer, basePackagePath="" /* relatively to resourceLoaderClass pkg */)).
at freemarker.template.Configuration.getTemplate(Configuration.java:2797)
at freemarker.core.Environment.getTemplateForInclusion(Environment.java:2540)
at freemarker.core.Include.accept(Include.java:162)
... 21 more