开发者

Struts2 debug tag thinks toString() is udefined

开发者 https://www.devze.com 2023-01-14 12:24 出处:网络
Debug tag in Struts2 keeps 开发者_运维技巧getting this error. Any ideas what could cause this?

Debug tag in Struts2 keeps 开发者_运维技巧getting this error. Any ideas what could cause this?

FreeMarker template error!

Expression stackObject.value.get(propertyName).toString() is undefined on line 58, column 122 in template/simple/debug.ftl.
The problematic instruction:
----------
==> ${stackObject.value.get(propertyName).toString()?html} [on line 58, column 120 in template/simple/debug.ftl]
 in include "/${parameters.templateDir}/simple/debug.ftl" [on line 23, column 1 in template/xhtml/debug.ftl]
----------


Never mind. Value stack had an object with overridden toString method that returned null.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号