FreeMarker template error (DEBUG mode; use RETHROW in production!):
Template inclusion failed (for parameter value "../EnergyStorage2015_include/jsandcss.html"):
Template not found for name "frontTPL/cms/www/default/channel/../EnergyStorage2015_include/jsandcss.html" (normalized: "frontTPL/cms/www/default/EnergyStorage2015_include/jsandcss.html").
The name was interpreted by this TemplateLoader: MultiTemplateLoader(loader1 = FileTemplateLoader(baseDir="/appdata/javaWebApps/dccms2/webapp/WEB-INF/freemarker", canonicalBasePath="/appdata/javaWebApps/dccms2/webapp/WEB-INF/freemarker/"), loader2 = ClassTemplateLoader(resourceLoaderClass=org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer, basePackagePath="" /* relatively to resourceLoaderClass pkg */)).
----
FTL stack trace ("~" means nesting-related):
- Failed at: #include "../EnergyStorage2015_includ... [in template "frontTPL/cms/www/default/channel/新闻栏目_专题_储能国际峰会2015首页.html" at line 7, 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: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 com.caleb.cms.f.b.a(Unknown Source)
at com.caleb.cms.f.b.a(Unknown Source)
at com.caleb.cms.f.b$$FastClassBySpringCGLIB$$d2c36f05.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:747)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:689)
at com.caleb.cms.f.b$$EnhancerBySpringCGLIB$$42ba13d9.a()
at com.caleb.cms.c.p.onMessage(Unknown Source)
at com.caleb.cms.c.p$$FastClassBySpringCGLIB$$d2c363d0.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:747)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:689)
at com.caleb.cms.c.p$$EnhancerBySpringCGLIB$$84a7c91a.onMessage()
at org.springframework.jms.listener.adapter.MessageListenerAdapter.onMessage(MessageListenerAdapter.java:211)
at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:744)
at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:704)
at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:674)
at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:318)
at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:257)
at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1173)
at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1165)
at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:1062)
at java.lang.Thread.run(Thread.java:745)
Caused by: freemarker.template.TemplateNotFoundException: Template not found for name "frontTPL/cms/www/default/channel/../EnergyStorage2015_include/jsandcss.html" (normalized: "frontTPL/cms/www/default/EnergyStorage2015_include/jsandcss.html").
The name was interpreted by this TemplateLoader: MultiTemplateLoader(loader1 = FileTemplateLoader(baseDir="/appdata/javaWebApps/dccms2/webapp/WEB-INF/freemarker", canonicalBasePath="/appdata/javaWebApps/dccms2/webapp/WEB-INF/freemarker/"), loader2 = ClassTemplateLoader(resourceLoaderClass=org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer, basePackagePath="" /* relatively to resourceLoaderClass pkg */)).
at freemarker.template.Configuration.getTemplate(Configuration.java:1833)
at freemarker.core.Environment.getTemplateForInclusion(Environment.java:2044)
at freemarker.core.Include.accept(Include.java:158)
... 36 more