严重: 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中没有这个问题。

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM