主题 : V4.5版本在本地部署,报错哈
级别: 秀才
UID: 67495
积分:52 加为好友
威望: 5 精华: 0
主题:7 回复:43
注册时间:2014-09-24
在线时长:0
1#   发表于:2014-09-26 15:49:35  IP:219.247.*.*
按照安装提示,安装成功后服务重启后提示如下错误:
Caused by: java.io.FileNotFoundException: class path resource [ehcache-application.xml] cannot be opened because it does not exist
java.io.FileNotFoundException: class path resource [ehcache-hibernate.xml] cannot be opened because it does not exist

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.scheduling.quartz.SchedulerFactoryBean#0' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'smsTrigger' while setting bean property 'triggers' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smsTrigger' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'smsJobDetail' while setting bean property 'jobDetail'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smsJobDetail' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'smsJob' while setting bean property 'targetObject'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smsJob': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.jspgou.cms.manager.OrderMng com.jspgou.cms.action.admin.SmsJob.manager; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orderMng': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.jspgou.cms.manager.ProductMng com.jspgou.cms.manager.impl.OrderMngImpl._$16; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'productMng': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.jspgou.cms.manager.ProductFashionMng com.jspgou.cms.manager.impl.ProductMngImpl._$15; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'productFashionMng': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.jspgou.core.manager.WebsiteMng com.jspgou.cms.manager.impl.ProductFashionMngImpl._$5; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'websiteMng': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void com.jspgou.core.manager.impl.WebsiteMngImpl.setCoreCacheSvc(com.jspgou.core.cache.CoreCacheSvc); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'coreCacheSvc': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void com.jspgou.core.cache.impl.CoreCacheSvcImpl.setGlobalCache(net.sf.ehcache.Ehcache); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'globalCache' defined in ServletContext resource [/WEB-INF/config/cache-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-application.xml] cannot be opened because it does not exist


版主帮忙看下哈
级别: 总版主
UID: 10736
积分:148385 加为好友
威望: 205 精华: 42
主题:287 回复:126144
注册时间:2010-09-08
在线时长:15.8
2#   发表于:2014-09-26 15:52:32  IP:111.79.*.*
class path resource [ehcache-hibernate.xml] cannot be opened because it does not exist 看下这个配置文件存在吗
路漫漫其修远兮,吾将上下而求索!
级别: 秀才
UID: 67495
积分:52 加为好友
威望: 5 精华: 0
主题:7 回复:43
注册时间:2014-09-24
在线时长:0
3#   发表于:2014-09-26 15:52:42  IP:219.247.*.*
版本下载地址是:
http://bbs.jeecms.com/fabu/30170.jhtml
级别: 秀才
UID: 67495
积分:52 加为好友
威望: 5 精华: 0
主题:7 回复:43
注册时间:2014-09-24
在线时长:0
4#   发表于:2014-09-26 15:53:16  IP:219.247.*.*
木有呢
级别: 秀才
UID: 67495
积分:52 加为好友
威望: 5 精华: 0
主题:7 回复:43
注册时间:2014-09-24
在线时长:0
5#   发表于:2014-09-26 15:54:51  IP:219.247.*.*
回复第2楼
没有这个文件呢
1 共1页