十月 19, 2017 10:10:26 上午 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet [JeeCmsFront] in context with path [] threw exception [Request processing failed; nested exception is freemarker.core.NonStringOrTemplateOutputException: For "${...}" content: Expected a string or something automatically convertible to string (number, date or boolean), or "template output" , but this has evaluated to a macro+misc_template_model (wrapper: f.c.Macro):
==> s.url [in template "WEB-INF/t/cms/www/default/special/search_result.html" at line 33, column 46]
----
FTL stack trace ("~" means nesting-related):
- Failed at: ${s.url} [in template "WEB-INF/t/cms/www/default/special/search_result.html" at line 33, column 44]
- Reached through: @cms_lucene_page q=q channelId=channe... [in template "WEB-INF/t/cms/www/default/special/search_result.html" at line 28, column 5]
----] with root cause
FreeMarker template error:
For "${...}" content: Expected a string or something automatically convertible to string (number, date or boolean), or "template output" , but this has evaluated to a macro+misc_template_model (wrapper: f.c.Macro):
==> s.url [in template "WEB-INF/t/cms/www/default/special/search_result.html" at line 33, column 46]
----
FTL stack trace ("~" means nesting-related):
- Failed at: ${s.url} [in template "WEB-INF/t/cms/www/default/special/search_result.html" at line 33, column 44]
- Reached through: @cms_lucene_page q=q channelId=channe... [in template "WEB-INF/t/cms/www/default/special/search_result.html" at line 28, column 5]
----
Java stack trace (for programmers):
----
freemarker.core.NonStringOrTemplateOutputException: [... Exception message was already printed; see it above ...]
at freemarker.core.EvalUtil.coerceModelToTextualCommon(EvalUtil.java:492)
at freemarker.core.EvalUtil.coerceModelToStringOrMarkup(EvalUtil.java:374)
at freemarker.core.DollarVariable.calculateInterpolatedStringOrMarkup(DollarVariable.java:96)
at freemarker.core.DollarVariable.accept(DollarVariable.java:59)
|
|