锘?!DOCTYPE html> 鍚屾甯﹁疆浼犲姩鐨勫伐浣滃師鐞嗕笌鐗圭偣_FreeMarker template error: The following has evaluated to null or missing: ==> ocms_webname [in template "article.ftl" at line 7, column 35] Tip: If the failing expression is known to be legally null/missing, either specify a default value with myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthessis: (myOptionVar.foo)!myDefault, (myOptionVar.foo)?? The failing instruction (FTL stack trace): ---------- ==> ${ocms_webname} [in template "article.ftl" at line 7, column 33] ---------- Java stack trace (for programmers): ---------- freemarker.core.InvalidReferenceException: [... Exception message was already printed; see it above ...] at freemarker.core.InvalidReferenceException.getInstance(InvalidReferenceException.java:98) at freemarker.core.EvalUtil.coerceModelToString(EvalUtil.java:382) at freemarker.core.Expression.evalAndCoerceToString(Expression.java:115) at freemarker.core.DollarVariable.accept(DollarVariable.java:76) at freemarker.core.Environment.visit(Environment.java:265) at freemarker.core.MixedContent.accept(MixedContent.java:93) at freemarker.core.Environment.visit(Environment.java:265) at freemarker.core.Environment.process(Environment.java:243) at freemarker.template.Template.process(Template.java:277) at com.paidot.ocms.utils.FreemarkerUtils.exportHtml(FreemarkerUtils.java:102) at com.paidot.ocms.utils.FreemarkerUtils.exportArticleHtml(FreemarkerUtils.java:238) at com.paidot.ocms.utils.FreemarkerUtils.exportArticleHtml(FreemarkerUtils.java:249) at com.paidot.ocms.utils.FreemarkerUtils.exportCategory(FreemarkerUtils.java:157) at com.paidot.ocms.controller.admin.StaticController$1.run(StaticController.java:173) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <a href="http://www.pawsk.cn/" title=""></a> <div class="friend-links"> </div> </div> </footer> <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>