严重: Template processing error: "Error reading included file template/~~~ajax/controlheader-core.ftl"

使用Struts2.3.16.1遇到如下错误,不能导入struts2-dojo-plugin-2.3.15.jar中的模版

 

严重: Template processing error: "Error reading included file template/~~~ajax/controlheader-core.ftl"  

  

Error reading included file template/~~~ajax/controlheader-core.ftl  

The problematic instruction:  

----------  

==> include "/${parameters.templateDir}/${parameters.expandTheme}/controlheader-core.ftl" [on line 23, column 1 in template/xhtml/controlheader.ftl]  

 in include "/${parameters.templateDir}/xhtml/controlheader.ftl" [on line 24, column 9 in template/ajax/controlheader.ftl]  

 in include "/${parameters.templateDir}/ajax/controlheader.ftl" [on line 23, column 1 in template/ajax/datetimepicker.ftl]  

----------  

  

Java backtrace for programmers:  

----------  

freemarker.template.TemplateException: Error reading included file template/~~~ajax/controlheader-core.ftl  

 

这是Struts2.3.16.1本身的问题,会在以后的版本中修复:https://issues.apache.org/jira/browse/WW-4254 ,在Struts2.3.15中没有这个问题。

 

你可能感兴趣的:(template)