首页 > 代码库 > Could not load the FreeMarker template named 'select'
Could not load the FreeMarker template named 'select'
眼下项目使用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'
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。