Struts2 WARN OgnlValueStack:45 - 无法找到属性

时间:2011-03-31 14:56:32

标签: struts2 warnings ognl

我的struts2应用程序运行正常,我只是不断收到我可能需要或不需要的属性的警告。关于如何摆脱警告的任何建议?

10:17:17,184  WARN OgnlValueStack:45 - Could not find property [org.apache.catalina.jsp_file]
10:17:17,278  WARN OgnlValueStack:45 - Could not find property [templateDir]
10:17:17,294  WARN OgnlValueStack:45 - Could not find property [theme]
10:17:17,387  WARN OgnlValueStack:45 - Could not find property [.freemarker.Request]
10:17:17,387  WARN OgnlValueStack:45 - Could not find property [.freemarker.RequestParameters]
10:17:17,637  WARN OgnlValueStack:45 - Could not find property [select.tin]
10:17:17,762  WARN OgnlValueStack:45 - Could not find property [text]
10:17:17,778  WARN OgnlValueStack:45 - Could not find property [select.year]
10:17:17,778  WARN OgnlValueStack:45 - Could not find property [year]
10:17:17,981  WARN OgnlValueStack:45 - Could not find property [struts.actionMapping]

1 个答案:

答案 0 :(得分:2)

Report at JIRA

解决方案:请参阅从Struts 2.0.x迁移到2.1.x的故障排除指南中的Missing Properties部分