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

相关代码

${column.nullableString?string("N","Y")?right_pad(5," ")}

错误信息

五月 11, 2017 5:09:23 下午 freemarker.log._JULLoggerFactory$JULLogger error
严重: Error executing FreeMarker template
FreeMarker template error:
For "...(...)" callee: Expected a method, but this has evaluated to a string (wrapper: f.t.SimpleScalar):
==> column.nullableString?string  [in template "baseTempl
点赞