报错freemarker.core.NonStringException
.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>
--------------------编程问答-------------------- --------------------编程问答-------------------- 这么强 搜索结果页.html --------------------编程问答-------------------- ${s.url} 先去掉看看呢。 --------------------编程问答-------------------- 去掉的话怎么会有链接呢!!
补充:Java , Java相关