org.springframework.beans.factory.BeanCreationException
2016-08-18 16:27
363 查看
摘要: maven run的时候运行正常,在maven debug的时候报错,问题如下:
Error creating bean with name 'FreemarkerHelper' ||
Error creating bean with name 'ehcacheCacheProvider'||
java.io.exception
———————以下是解决方案——————————
解决方案:
WEB-INF/lib底下加入ehcache-1.2.3.jar包,同时
在ehcache.xml去掉 maxElementsOnDisk="10000000"
此时才发现
首先是spring.xml配置文件的问题:
⑴FreemarkerHelper.java 的配置放在原来的spring/applicationContext-base.xml下面也能正常了
不用再放到applicationContext-front.xml 里面了
⑵把systemManager 的bean配置换到它ref的bean下面,还剩一个Error creating bean with name 'ehcacheCacheProvider'的问题也解决了___________________________________________________________
ehcache-1.2.3.jar包下载 http://download.csdn.net/download/miaodajun/6752787
I'm Nico http://my.oschina.net/yangzhiwei/blog/734682
Error creating bean with name 'FreemarkerHelper' ||
Error creating bean with name 'ehcacheCacheProvider'||
java.io.exception
———————以下是解决方案——————————
解决方案:
WEB-INF/lib底下加入ehcache-1.2.3.jar包,同时
在ehcache.xml去掉 maxElementsOnDisk="10000000"
此时才发现
首先是spring.xml配置文件的问题:
⑴FreemarkerHelper.java 的配置放在原来的spring/applicationContext-base.xml下面也能正常了
不用再放到applicationContext-front.xml 里面了
⑵把systemManager 的bean配置换到它ref的bean下面,还剩一个Error creating bean with name 'ehcacheCacheProvider'的问题也解决了___________________________________________________________
ehcache-1.2.3.jar包下载 http://download.csdn.net/download/miaodajun/6752787
I'm Nico http://my.oschina.net/yangzhiwei/blog/734682
相关文章推荐
- org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'homeurl' def
- 题目:org.springframework.beans.factory.BeanCreationException(hibernate中的jar包和spring中的jar包冲突)异常产生的原因和解决方案。
- org.springframework.beans.factory.BeanCreationException的问题所在!!
- org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFacto
- org.springframework.beans.factory.BeanCreationException
- org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'selectcommoninfo' defined in ServletCont
- org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContex
- 解决org.springframework.beans.factory.BeanCreationException: Error creating bean with name
- org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContex
- org.springframework.beans.factory.BeanCreationException: Error creating bean with name
- ssh2 整合 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in Servl
- org.springframework.beans.factory.BeanCreationException(spring注入问题)
- org.springframework.beans.factory.BeanCreationException
- org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'lanagerServi
- org.springframework.beans.factory.BeanCreationException: 某个错误
- org.springframework.beans.factory.BeanCreationException:
- org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFacto
- org.springframework.beans.factory.BeanCreationException
- 求答案:org.springframework.beans.factory.BeanCreationException
- org.springframework.beans.factory.BeanCreationException