RSS
Tags

“迎五四 扬青春”庆幼中心十三园青年节活动我的活动

发布时间:FreeMarker template error (DEBUG mode; use RETHROW in production!): Can't convert the date-like value to string because it isn't known if it's a date (no time part), time or date-time value. The blamed expression: ==> content.releaseDate [in template "WEB-INF/t/cms/shisanyuan/default/content/news.html" at line 65, column 37] ---- Tip: Use ?date, ?time, or ?datetime to tell FreeMarker the exact type. ---- Tip: If you need a particular format only once, use ?string(pattern), like ?string('dd.MM.yyyy HH:mm:ss'), to specify which fields to display. ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${content.releaseDate} [in template "WEB-INF/t/cms/shisanyuan/default/content/news.html" at line 65, column 35] ---- Java stack trace (for programmers): ---- freemarker.core._TemplateModelException: [... Exception message was already printed; see it above ...] at freemarker.core.MessageUtil.newCantFormatUnknownTypeDateException(MessageUtil.java:296) at freemarker.core.Environment.getTemplateDateFormat(Environment.java:1582) at freemarker.core.Environment.getTemplateDateFormat(Environment.java:1567) at freemarker.core.EvalUtil.coerceModelToStringOrMarkup(EvalUtil.java:365) at freemarker.core.DollarVariable.calculateInterpolatedStringOrMarkup(DollarVariable.java:96) at freemarker.core.DollarVariable.accept(DollarVariable.java:59) at freemarker.core.Environment.visit(Environment.java:327) at freemarker.core.Environment.visit(Environment.java:333) at freemarker.core.Environment.process(Environment.java:306) at freemarker.template.Template.process(Template.java:386) at com.jeecms.cms.staticpage.StaticPageDaoImpl.createContentPage(StaticPageDaoImpl.java:408) at com.jeecms.cms.staticpage.StaticPageDaoImpl.contentStatic(StaticPageDaoImpl.java:354) at com.jeecms.cms.staticpage.StaticPageSvcImpl.content(StaticPageSvcImpl.java:66) at com.jeecms.cms.staticpage.StaticPageSvcImpl.contentRelated(StaticPageSvcImpl.java:80) at sun.reflect.GeneratedMethodAccessor1653.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213) at com.sun.proxy.$Proxy64.contentRelated(Unknown Source) at com.jeecms.cms.staticpage.ContentStaticPageListener.afterChange(ContentStaticPageListener.java:56) at com.jeecms.cms.staticpage.ContentStatusChangeThread.afterChange(ContentStatusChangeThread.java:79) at com.jeecms.cms.staticpage.ContentStatusChangeThread.run(ContentStatusChangeThread.java:52) Caused by: freemarker.core.UnknownDateTypeFormattingUnsupportedException: Can't convert the date-like value to string because it isn't known if it's a date (no time part), time or date-time value. at freemarker.core.Environment.getTemplateDateFormat(Environment.java:1644) at freemarker.core.Environment.getTemplateDateFormat(Environment.java:1414) at freemarker.core.Environment.getTemplateDateFormat(Environment.java:1580) ... 27 more