首页 > 社区资讯
    FreeMarker template error!
    
    
    Expression channel is undefined on line 23, column 66 in WEB-INF/user_base/shaoxing_cnncy_com_www/template/community/default/1/information.html.
    The problematic instruction:
    ----------
    ==> ${channel.id} [on line 23, column 64 in WEB-INF/user_base/shaoxing_cnncy_com_www/template/community/default/1/information.html]
     in user-directive cms.ArtiList [on line 23, column 41 in WEB-INF/user_base/shaoxing_cnncy_com_www/template/community/default/1/information.html]
    ----------
    
    Java backtrace for programmers:
    ----------
    freemarker.core.InvalidReferenceException: Expression channel is undefined on line 23, column 66 in WEB-INF/user_base/shaoxing_cnncy_com_www/template/community/default/1/information.html.
    	at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
    	at freemarker.core.TemplateObject.invalidTypeException(TemplateObject.java:134)
    	at freemarker.core.Dot._getAsTemplateModel(Dot.java:78)
    	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:210)
    	at freemarker.core.MixedContent.accept(MixedContent.java:92)
    	at freemarker.core.Environment.visit(Environment.java:210)
    	at freemarker.core.Environment.renderElementToString(Environment.java:1569)
    	at freemarker.core.StringLiteral.getStringValue(StringLiteral.java:101)
    	at freemarker.core.StringLiteral._getAsTemplateModel(StringLiteral.java:86)
    	at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
    	at freemarker.core.Environment.visit(Environment.java:557)
    	at freemarker.core.UnifiedCall.accept(UnifiedCall.java:106)
    	at freemarker.core.Environment.visit(Environment.java:210)
    	at freemarker.core.MixedContent.accept(MixedContent.java:92)
    	at freemarker.core.Environment.visit(Environment.java:210)
    	at freemarker.core.Environment.process(Environment.java:190)
    	at freemarker.template.Template.process(Template.java:237)
    	at org.apache.struts2.views.freemarker.FreemarkerResult.doExecute(FreemarkerResult.java:187)
    	at org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:186)
    	at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:361)
    	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:265)
    	at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:249)
    	at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)
    	at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
    	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
    	at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:122)
    	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
    	at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195)
    	at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
    	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
    	at com.zsl.cnncy.common.struts2.interceptor.UrlInterceptor.doIntercept(UrlInterceptor.java:106)
    	at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
    	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
    	at com.zsl.cnncy.core.web.CookieIdentityInterceptor.doIntercept(CookieIdentityInterceptor.java:59)
    	at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
    	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
    	at com.zsl.cnncy.common.struts2.interceptor.DomainNameInterceptor.doIntercept(DomainNameInterceptor.java:23)
    	at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
    	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
    	at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:176)
    	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
    	at com.zsl.cnncy.common.struts2.interceptor.ProcessingStartInterceptor.intercept(ProcessingStartInterceptor.java:32)
    	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
    	at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52)
    	at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:532)
    	at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:395)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    	at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
    	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
    	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    	at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:223)
    	at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:311)
    	at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:793)
    	at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:722)
    	at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:915)
    	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
    	at java.lang.Thread.run(Unknown Source)