HTTP Status 500 - Unable to show problem report: freemarker.core.InvalidReferenceException: The following has evaluated to null or missing: ==> msg [in template "org/apache/struts2/dispatcher/error.ftl" at line 68, column 31] 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: ==> ${msg[0]} [in template "org/apache/struts2/dispatcher/error.ftl" at line 68, column 29] Class: freemarker.core.InvalidReferenceException File: InvalidReferenceException.java Method: getInstance Line: 98 - freemarker/core/InvalidReferenceException.java:98:-1

解决办法:在struts.xml 将<constant name="struts.devMode" value="true" />

改为<constant name="struts.devMode" value="false" />  这只能让你看到你在什么地方出错,具体的错误得你自己解决。

最新文章

  1. Sql Server函数全解(二)数学函数
  2. js中replace的回调函数使用。
  3. 算法入门笔记------------Day1
  4. DES加密 java与.net可以相互加密解密的方法
  5. Eclipse启动Tomcat时45秒超时的解决方法
  6. iOS系统自带正则表达式简单运用
  7. prtg
  8. C#加密解密算法汇总(转)
  9. JS代码检查工具ESLint
  10. .NET--------枚举扩展方法(枚举转list,获取枚举描述)
  11. iptables和netfilter
  12. C#爬虫----Fiddler 插件开发 自动生成代码
  13. 二.css介绍
  14. Wordpress显示文章摘要
  15. Python 面向对象编程(进阶部分)
  16. android( java) 处理 null 和 预防空指针异常(NullPointerException) 的一些经验。
  17. Ubuntu下环境变量的设置
  18. ubunut下安装ibus_pinyin中文输入法
  19. Serial,Parallel,CMS,G1四大GC收集器特点小结
  20. ubuntu -- 不输入密码执行sudo

热门文章

  1. javascript 时间格式(很方便的原生函数)
  2. 012 router password
  3. AutoCAD如何打印
  4. linux网络结构体
  5. nlssort排序
  6. hdu 3006 The Number of set(思维+壮压DP)
  7. Enterprise Library 5.0 学习笔记
  8. Python按行输出文件内容具体解释及延伸
  9. 代理ip 测试
  10. Vijos 1193 扫雷 【动态规划】