freemarker.core.InvalidReferenceException

1、错误描述

freemarker.core.InvalidReferenceException:on line 68,column 18 in ftl/inc/incPro.ftl p.mainSelect not found

2、错误原因

由于宏定义的组件已经删除,但是在页面中还是运用了该组件

3、解决办法

删除已经没有定义宏的组件,防止页面报错

时间: 2024-11-06 02:25:00

freemarker.core.InvalidReferenceException的相关文章

freemarker.core.InvalidReferenceException: Expression stackObject.value.get(propertyName).toString() is undefined

很奇怪的报错, 在实体中添加 toString方法后, 想在前台列表中使用 <s:debug标签调试, 发现报错如下: freemarker.core.InvalidReferenceException: Expression stackObject.value.get(propertyName).toString() is undefined on line 58, column 122 in template/simple/debug.ftl.    at freemarker.core.T

解决 HTTP Status 500 - Unable to show problem report: freemarker.core.InvalidReferenceException:

HTTP Status 500 - Unable to show problem report: freemarker.core.InvalidReferenceException: The following has evaluated to null or missing: ==> msg [in template "org/apache/struts2/dispatcher/error.ftl" at line 68, column 31] Tip: If the fail

freemarker.core.InvalidReferenceException: [... Exception message was already printed; see it above ...]

FreeMarker template error:The following has evaluated to null or missing:==> product  [in template "product.html" at line 751, column 43] FreeMarker模板误差:以下已评估为null或丢失:=产品"模板"产品HTML"在第751行,第43栏] ---------------------------- 意思是有

freemarker.core.ParseException:Unexpected end of file reached

1.错误原因 2.错误原因 由于在宏定义中,运用组件时没有关闭标签,导致出错 3.解决办法 添加关闭标签,或者给/>

freemarker报错之三

1.错误描写叙述 Expression students is undefined on line 30, column 24 in student.ftl. The problematic instruction: ---------- ==> list students as student [on line 30, column 17 in student.ftl] ---------- Java backtrace for programmers: ---------- freemark

freemarker报错之四

1.错误描述 五月 28, 2014 9:56:48 下午 freemarker.log.JDK14LoggerFactory$JDK14Logger error 严重: Template processing error: "Expression student.course is undefined on line 15, column 24 in course.ftl." Expression student.course is undefined on line 15, col

freemarker自己定义标签报错(七)

1.错误描写叙述 六月 09, 2014 11:11:09 下午 freemarker.log.JDK14LoggerFactory$JDK14Logger error 严重: Template processing error: "Expression a is undefined on line 27, column 23 in tag.ftl." Expression a is undefined on line 27, column 23 in tag.ftl. The pro

freemarker写select组件报错总结(六)

1.错误描写叙述 六月 26, 2014 10:53:26 下午 freemarker.log.JDK14LoggerFactory$JDK14Logger error 严重: Template processing error: "Expression data[text] is undefined on line 9, column 51 in inc/select.ftl." Expression data[text] is undefined on line 9, column

FreeMarker语法

1.${val}被替换对象. <?xml version="1.0" encoding="UTF-8"?> <people xmlns:h="http://www.w3.org/TR/html4/"> <person id="000001" age="20"> <name> <family>${p.fname}</family> <