主题 : ehcache.xml cannot be opened because it does not exist |
级别: 举人
|
1# 发表于:2018-03-19 13:07:35 IP:219.48.*.*
|
||||
---|---|---|---|---|---|
级别: 举人
|
5# 发表于:2018-03-19 14:08:53 IP:219.48.*.*
用的是源码版 在启动的时候报错
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:350) Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shiroFilter' defined in ServletContext resource [/WEB-INF/config/shiro-context.xml]: Cannot resolve reference to bean 'securityManager' while setting bean property 'securityManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityManager' defined in ServletContext resource [/WEB-INF/config/shiro-context.xml]: Cannot resolve reference to bean 'shiroEhcacheManager' while setting bean property 'cacheManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shiroEhcacheManager' defined in ServletContext resource [/WEB-INF/config/shiro-context.xml]: Cannot resolve reference to bean 'cacheManager' while setting bean property 'cacheManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cacheManager' defined in ServletContext resource [/WEB-INF/config/cache-context.xml]: Invocation of init method failed; nested exception is java.io.FileNotFoundException: class path resource [ehcache.xml] cannot be opened because it does not exist |
||
---|---|---|---|
级别: 总版主
|
8# 发表于:2018-03-19 14:15:20 IP:117.131.*.*
|
||
---|---|---|---|