主题 : 首页的搜索为什么不好用,还有报错
级别: 贡士
UID: 93901
积分:642 加为好友
威望: 45 精华: 0
主题:104 回复:329
注册时间:2016-10-31
在线时长:0
1#   发表于:2017-10-19 10:10:49  IP:27.174.*.*
十月 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)
级别: 总版主
UID: 10736
积分:149787 加为好友
威望: 212 精华: 42
主题:297 回复:127674
注册时间:2010-09-08
在线时长:90.1
2#   发表于:2017-10-19 10:45:13  IP:182.218.*.*
后台维护下面 重新生成下索引
路漫漫其修远兮,吾将上下而求索!
级别: 总版主
UID: 10736
积分:149787 加为好友
威望: 212 精华: 42
主题:297 回复:127674
注册时间:2010-09-08
在线时长:90.1
3#   发表于:2017-10-19 10:46:34  IP:182.218.*.*
路漫漫其修远兮,吾将上下而求索!
级别: 贡士
UID: 93901
积分:642 加为好友
威望: 45 精华: 0
主题:104 回复:329
注册时间:2016-10-31
在线时长:0
4#   发表于:2017-10-19 11:06:31  IP:27.23.*.*
谢谢,还有就是V8和V8.1是两个版本吗
1 共1页