【发布时间】:2018-03-08 01:57:31
【问题描述】:
似乎在我的 Tapestry 应用程序中,我无法从 WEB-INF 目录或类路径加载 ini 文件或属性文件。
我尝试了几种不同的方法来加载我的文件,但都没有奏效。
- 前
realm.setResourcePath("/WEB-INF/auth.properties");
- 前
realm.setResourcePath("classpath:wip/pages/auth.properties");
我需要加载属性/ini 文件才能使用基于 Shiro 的 Tapestry-security 模块。
感谢您的帮助!
【问题讨论】:
标签: java tapestry shiro tynamo