1.The following has evaluated to null or missing: 生成接口的时候,出现了这个问题。
1 2 3 4 5 6 7 8 9 10 11 12 13
"Controller.java" 发生了错误:
The following has evaluated to null or missing: ==> pkType [in template "Controller.java{alias: controller}" at line 107, column 58]
---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like 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 parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${pkType} [in template "Controller.java{alias: controller}" at line 107, column 56] ----