代码生成提示500错误

提问 未结 2 158
石头闷
石头闷 VIP3 2019-11-21 17:12:05
悬赏:20积分 收藏
产品:微服务 版本:4.2
{"message":"Internal server error","exception":"The following has evaluated to null or missing:\n==> c.simpleJavaType [in template \"name\" at line 30, column 19]\n\n----\nTip: It's the step after the last dot that caused this error, not those before it.\n----\nTip: 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. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??\n----\n\n----\nFTL stack trace (\"~\" means nesting-related):\n\t- Failed at: ${c.simpleJavaType} [in template \"name\" at line 30, column 17]\n----"}
回帖
  • 2019-11-24 21:16:02
    表单设计,第二个tab页,java属性,里面有空的,请补全就行了。
    0 回复
  • 2019-12-09 16:58:39
    没有空,我新建,用默认的,不加字段也提示错 {success=false, errorMessage=EL1007E: Property or field 'enName' cannot be found on null, message=org.springframework.expression.spel.SpelEvaluationException: EL1007E: Property or field 'enName' cannot be found on null} img[/userfiles/fly/c18d63e27f21426da628f6590fb82271/files/1575881848283.] img[/userfiles/fly/c18d63e27f21426da628f6590fb82271/files/1575881855485.]
    0 回复