FreeMarker template error (DEBUG mode; use RETHROW in production!): Template inclusion failed (for parameter value "inc_js.html"): Template not found for name "1/default/inc_js.html". The name was interpreted by this TemplateLoader: MultiTemplateLoader(loader1 = com.jspxcms.common.freemarker.AdapterTemplateLoader@386c75ff, 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_js.html" [in template "1/default/department_info.html" at line 13, 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.process(Environment.java:309) at freemarker.template.Template.process(Template.java:384) at com.jspxcms.common.file.LocalFileHandler.storeFile(LocalFileHandler.java:147) at com.jspxcms.core.html.PInfo.doMakeHtml(PInfo.java:101) at com.jspxcms.core.html.PInfo.makeHtml(PInfo.java:47) at com.jspxcms.core.html.HtmlServiceImpl.makeInfo(HtmlServiceImpl.java:145) at com.jspxcms.core.html.HtmlServiceImpl$$FastClassBySpringCGLIB$$ca793f53.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:282) 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.jspxcms.core.html.HtmlServiceImpl$$EnhancerBySpringCGLIB$$d512bcf9.makeInfo() at com.jspxcms.core.html.HtmlGeneratorImpl$1.run(HtmlGeneratorImpl.java:38) Caused by: freemarker.template.TemplateNotFoundException: Template not found for name "1/default/inc_js.html". The name was interpreted by this TemplateLoader: MultiTemplateLoader(loader1 = com.jspxcms.common.freemarker.AdapterTemplateLoader@386c75ff, 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) ... 19 more