3.5K Unstar Star 9.6K Fork 4.1K

卓源软件 / JeeSite 4.2Java

使用JeeSite框架Eclipse无问题IDEA报错

Closed
聰聰  Opened this issue

该问题是怎么引起的?

Eclipse启动正常IDEA启动就显示配置文件有问题

报错信息

504 WARN [springframework.web.context.support.XmlWebApplicationContext] - Exception encountered during context initialization - cancelling refresh attempt
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shiroFilter' defined in file [E:***\target\jeesite\WEB-INF\classes\spring-context-shiro.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 file [E:***\target\jeesite\WEB-INF\classes\spring-context-shiro.xml]: Cannot resolve reference to bean 'sessionManager' while setting bean property 'sessionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionManager' defined in file [E:***\target\jeesite\WEB-INF\classes\spring-context-shiro.xml]: Cannot resolve reference to bean 'sessionDAO' while setting bean property 'sessionDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionDAO' defined in file [E:***\target\jeesite\WEB-INF\classes\spring-context-shiro.xml]: Cannot resolve reference to bean 'shiroCacheManager' while setting bean property 'cacheManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shiroCacheManager' defined in file [E:***\target\jeesite\WEB-INF\classes\spring-context-shiro.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 file [E:****\target\jeesite\WEB-INF\classes\spring-context.xml]: Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: Disk store path can't be created: ..\temp\jeesite\ehcache

6732 thinkgem 1578914432 total 2 participants

Comments (1)

6732 thinkgem 1578914432
卓源软件 2019-10-25 20:10 owner

关键错误信息:net.sf.ehcache.CacheException: Disk store path can't be created: ..\temp\jeesite\ehcache

说明,缓存文件创建失败,有可能无权限,有可能其它进程正在占用

Sign in to comment

Assignees
Labels
Not set
Projects
Milestones
Branches
Planed to start
Not set
Planed to end
Not set
Top level
Priority
Java
1
https://gitee.com/thinkgem/jeesite4.git
git@gitee.com:thinkgem/jeesite4.git
thinkgem
jeesite4
JeeSite 4.2

Search