123
全站搜索:
详细介绍: <hr size=1>
<img src=/kps01/M00/C9/CB/wKiAiWUqQFjoHAxgAAAG52SwRIw000.png />
欢迎您对 test 发表评论
添加新评论
匿名发表(无需注册)
标题:
限定2000字符 >>查看现有评论
test 
共有0条记录,共1页,目前为第1页,每页:10 [首 页]    [上一页]    [下一页]    [尾 页]  
【 关闭窗口
FreeMarker template error!


Error: on line 42, column 72 in tpl/2012/k/wz.kenfor.com/zh-CN/displayproduct.html
Expecting a date here, found: 
The problematic instruction:
----------
==> ${(product.date?date)?string("yyyy.MM.dd")} [on line 42, column 69 in tpl/2012/k/wz.kenfor.com/zh-CN/displayproduct.html]
 in include "../${common_user_tplurl}/zh-CN/displayproduct.html" [on line 22, column 4 in zh-CN/displayproduct.html]
----------

Java backtrace for programmers:
----------
freemarker.template.TemplateModelException: Error: on line 42, column 72 in tpl/2012/k/wz.kenfor.com/zh-CN/displayproduct.html
Expecting a date here, found: 
	at freemarker.core.BuiltIn$dateBI$DateParser.parse(BuiltIn.java:329)
	at freemarker.core.BuiltIn$dateBI$DateParser.getAsDate(BuiltIn.java:290)
	at freemarker.core.EvaluationUtil.getDate(EvaluationUtil.java:125)
	at freemarker.core.BuiltIn$stringBI._getAsTemplateModel(BuiltIn.java:346)
	at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
	at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:86)
	at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
	at freemarker.core.Expression.getStringValue(Expression.java:93)
	at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
	at freemarker.core.Environment.visit(Environment.java:245)
	at freemarker.core.MixedContent.accept(MixedContent.java:92)
	at freemarker.core.Environment.visit(Environment.java:245)
	at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)
	at freemarker.core.Environment.visit(Environment.java:245)
	at freemarker.core.MixedContent.accept(MixedContent.java:92)
	at freemarker.core.Environment.visit(Environment.java:245)
	at freemarker.core.Environment.include(Environment.java:1424)
	at freemarker.core.Include.accept(Include.java:211)
	at freemarker.core.Environment.visit(Environment.java:245)
	at freemarker.core.IfBlock.accept(IfBlock.java:82)
	at freemarker.core.Environment.visit(Environment.java:245)
	at freemarker.core.MixedContent.accept(MixedContent.java:92)
	at freemarker.core.Environment.visit(Environment.java:245)
	at freemarker.core.Environment.process(Environment.java:225)
	at freemarker.template.Template.process(Template.java:117)
	at freemarker.ext.servlet.FreemarkerServlet.process(FreemarkerServlet.java:310)
	at freemarker.ext.servlet.FreemarkerServlet.doGet(FreemarkerServlet.java:245)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:114)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:91)
	at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:103)
	at shield.front.action.filter.NotAllowedToTunFilesFilter.doFilter(NotAllowedToTunFilesFilter.java:127)
	at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
	at shield.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:81)
	at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
	at shield.front.action.filter.InvalidXSSFilter.doFilter(InvalidXSSFilter.java:96)
	at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
	at com.caucho.filters.GzipFilter.doFilter(GzipFilter.java:169)
	at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
	at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:192)
	at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:187)
	at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:265)
	at com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:436)
	at com.caucho.server.port.TcpConnection.run(TcpConnection.java:682)
	at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:743)
	at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:662)
	at java.lang.Thread.run(Thread.java:662)