HTTP Status 500-unable to show problem Report:freemarker.core.InvalidReferenceException:The following have evaluated to Null or missing: ==> msg [in template ' Org/apache/struts2/dispatcher/error.ftl ' at line, column] Tip:if the FAI Ling expression is known to being 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)!myde Fault, (Myoptionvar.foo)?? The failing instruction: ==> ${msg[0]} [in template ' Org/apache/struts2/dispatcher/error.ftl ' at line, column] Cl Ass:freemarker.core.InvalidReferenceException File:InvalidReferenceException.java method:getinstance line:98- Freemarker/core/invalidreferenceexception.java:98:-1
Workaround: The struts.xml will <constant name= "Struts.devmode" value= "true"/>
Change to <constant name= "Struts.devmode" value= "false"/> This will only let you see where you went wrong, the specific mistake you have to solve yourself.
Resolve HTTP Status 500-unable to show problem report:freemarker.core.InvalidReferenceException: