Struts2 警告 OgnlValueStack:45 - 找不到属性

发布于 2024-10-28 04:02:41 字数 894 浏览 8 评论 0原文

我的 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]

My struts2 application works fine, I just keep getting these warnings for properties I may or may not need. Any advice on how to get rid of the warnings?

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]

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

亣腦蒛氧 2024-11-04 04:02:41

在 JIRA 上报告

解决方案:请参阅缺少属性 部分

Report at JIRA

Solution : See the Missing Properties section in Troubleshooting guide migrating from Struts 2.0.x to 2.1.x

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文