FreeMarker标签出错问题


严重: Servlet.service() for servlet [JeeCmsFront] in context with path [] threw exception freemarker.core.ParseException: Encountered "{" at line 15, column 41 in WEB-INF/t/cms/www/eduyun/front/goodResourceSubjectList.html. Was expecting one of: ">" ... "." ... "[" ... "(" ... "?" ... "!" ... <TERMINATING_EXCLAM> ... "??" ... "+" ... "-" ... "*" ... "/" ... "%" ... "!=" ... "=" ... "==" ... ".." ... <AND> ... <OR> ... at freemarker.core.FMParser.generateParseException(FMParser.java:4697) at freemarker.core.FMParser.jj_consume_token(FMParser.java:4568) at freemarker.core.FMParser.If(FMParser.java:1171) at freemarker.core.FMParser.FreemarkerDirective(FMParser.java:2372) at freemarker.core.FMParser.Content(FMParser.java:2618) at freemarker.core.FMParser.OptionalBlock(FMParser.java:2786) at freemarker.core.FMParser.List(FMParser.java:1257) at freemarker.core.FMParser.FreemarkerDirective(FMParser.java:2375) at freemarker.core.FMParser.Content(FMParser.java:2618) at freemarker.core.FMParser.OptionalBlock(FMParser.java:2786) at freemarker.core.FMParser.If(FMParser.java:1197) at freemarker.core.FMParser.FreemarkerDirective(FMParser.java:2372) at freemarker.core.FMParser.Content(FMParser.java:2618) at freemarker.core.FMParser.OptionalBlock(FMParser.java:2786) at freemarker.core.FMParser.Root(FMParser.java:2958) at freemarker.template.Template.<init>(Template.java:149) at freemarker.cache.TemplateCache.loadTemplate(TemplateCache.java:448) at freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:361) at freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:235) at freemarker.template.Configuration.getTemplate(Configuration.java:487) at freemarker.template.Configuration.getTemplate(Configuration.java:452) at com.jeecms.common.web.springmvc.SimpleFreeMarkerView.renderMergedTemplateModel(SimpleFreeMarkerView.java:114) at org.springframework.web.servlet.view.AbstractTemplateView.renderMergedOutputModel(AbstractTemplateView.java:167)

错误代码

 

正确代码

 

转载于:https://www.cnblogs.com/againn/p/7593227.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值