FreeMarker template error (DEBUG mode; use RETHROW in production!): Java method "cn.com.harbor.wcb.publish.service.CMSTemplateEngine.documents(String)" threw an exception when invoked on cn.com.harbor.wcb.publish.service.CMSTemplateEngine object "cn.com.harbor.wcb.publish.service.CMSTemplateEngine@605c91b2"; see cause exception in the Java stack trace. ---- FTL stack trace ("~" means nesting-related): - Failed at: #list cms.documents("channel=专题报道_不忘初... [in template "bwcx.html" at line 43, column 10] ---- Java stack trace (for programmers): ---- freemarker.core._TemplateModelException: [... Exception message was already printed; see it above ...] at freemarker.ext.beans._MethodUtil.newInvocationTemplateModelException(_MethodUtil.java:311) at freemarker.ext.beans._MethodUtil.newInvocationTemplateModelException(_MethodUtil.java:275) at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:80) at freemarker.core.MethodCall._eval(MethodCall.java:62) at freemarker.core.Expression.eval(Expression.java:78) at freemarker.core.IteratorBlock.accept(IteratorBlock.java:58) at freemarker.core.Environment.visit(Environment.java:312) at freemarker.core.MixedContent.accept(MixedContent.java:62) at freemarker.core.Environment.visit(Environment.java:312) at freemarker.core.Environment.process(Environment.java:290) at freemarker.template.Template.process(Template.java:312) at cn.com.harbor.wcb.publish.service.HTMLGenerator.generateHTML(HTMLGenerator.java:59) at cn.com.harbor.wcb.publish.service.ChannelIndexPublishThread.publishChannelIndex(ChannelIndexPublishThread.java:202) at cn.com.harbor.wcb.publish.service.ChannelIndexPublishThread.run(ChannelIndexPublishThread.java:51) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: org.springframework.jdbc.UncategorizedSQLException: Hibernate ope