报错freemarker.core.NonStringException
Mx败 2013-08-23 10:23:35 .out文件报错:
18:08:51.030 ERROR freemarker.runtime - Error on line 42, column 121 in WEB-INF/t/cms/www/red/special/搜索结果页.html
Expecting a string, date or number here, Expression s.url is instead a freemarker.core.Macro
freemarker.core.NonStringException: Error on line 42, column 121 in WEB-INF/t/cms/www/red/special/搜索结果页.html
Expecting a string, date or number here, Expression s.url is instead a freemarker.core.Macro
我的代码是
<dt><span>[<a href="${s.ctgUrl!}" target="_blank">${s.ctgName!}</a>]</span> <a href="${s.url}" title="${s.title}" target="_blank">${s.title}</a></dt>