码迷,mamicode.com
首页 > 其他好文 > 详细

Could not load the FreeMarker template named 'select'

时间:2014-12-24 14:44:38      阅读:107      评论:0      收藏:0      [点我收藏+]

标签:

   目前项目使用struts2, 所以页面中就使用到了struts2的标签,但是今天在做新的功能的时候突然出现 “Could not load the FreeMarker template named ‘select‘” 这样的错误,

看错误信息是找不到struts2  的select 标签,但是其他页面也都用到了select,也没有出现错误。最后发现问题出在了action中,我在action中定义了一个实体变量,起名为theme,

最后将该变量名称改掉就好了。 由于时间关系没有找到根本原因,自己猜测应该是theme 变量名称与struts标签中的冲突导致的。

Could not load the FreeMarker template named 'select'

标签:

原文地址:http://blog.csdn.net/ypb137154098/article/details/42122977

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!