Description
I have web application that uses Shiro version 1.2.0-SNAPSHOT with Shiro.ini file on classpath. The application stopped to load ini file and returns an error:
There is no servlet context resource corresponding to configPath '/classpath:Shiro.ini' If the resource is located elsewhere (not immediately resolveable in the servlet context), specify an appropriate classpath:, url:, or file: resource prefix accordingly.
Extract of my Web.xml:
<filter>
<filter-name>ShiroFilter</filter-name>
<filter-class>org.apache.shiro.web.servlet.IniShiroFilter</filter-class>
<init-param>
<param-name>configPath</param-name>
<param-value>classpath:Shiro.ini</param-value>
</init-param>
</filter>