سؤال

علامة تصحيح في Struts2 يحافظ على هذا الخطأ. أي أفكار ما يمكن أن يسبب هذا؟

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]
----------
هل كانت مفيدة؟

المحلول

لا يهم. كان لدى مكدس القيمة كائن مع طريقة tostring overridden التي عادت فارغة.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top