标签:
七月 14, 2016 2:19:25 下午 freemarker.log._JDK14LoggerFactory$JDK14Logger error
严重: Error executing FreeMarker template
FreeMarker template error:
The following has evaluated to null or missing:
==> module [in template "view/addMoudle.html" at line 12, column 45]
Tip: If the failing expression is known to be legally null/missing, either specify a default value with myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthessis: (myOptionVar.foo)!myDefault, (myOptionVar.foo)??
The failing instruction (FTL stack trace):
----------
==> ${module.module_id?default("")} [in template "view/addMoudle.html" at line 12, column 43]
----------
Java stack trace (for programmers):
正确处理方法:1对象不能为空,2值也不能为空,给个默认值。
The following has evaluated to null or missing:
标签:
原文地址:http://www.cnblogs.com/hanhua/p/5670328.html