当前位置: 代码迷 >> 应用服务器 >> weblogic调度出错
  详细解决方案

weblogic调度出错

热度:8319   发布时间:2013-02-26 00:00:00.0
weblogic部署出错
我用weblogic部署报以下错误:
Exception: Exception:weblogic.management.ApplicationException: start() failed. Module: finance Error: weblogic.management.DeploymentException: Error creating bean with name 'common.baseDao' defined in URL [zip:D:/Program Files/Bea/user_projects/domains/Finance/myserver/.wlnotdelete/extract/myserver_finance_finance/jarfiles/WEB-INF/lib/financeTemplate.jar!/META-INF/finance/config/applicationContext-dao.xml]: Can't resolve reference to bean 'methodCache' while setting property 'cache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'methodCache' defined in URL [zip:D:/Program Files/Bea/user_projects/domains/Finance/myserver/.wlnotdelete/extract/myserver_finance_finance/jarfiles/WEB-INF/lib/financeTemplate.jar!/META-INF/finance/config/applicationContext-service.xml]: Can't resolve reference to bean 'cacheManager' while setting property 'cacheManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cacheManager' defined in URL [zip:D:/Program  Files/Bea/user_projects/domains/Finance/myserver/.wlnotdelete/extract/myserver_finance_finance/jarfiles/WEB-INF/lib/financeTemplate.jar!/META-INF/finance/config/applicationContext-service.xml]: Initialization of bean failed; nested exception is net.sf.ehcache.CacheException: Cannot configure CacheManager: File not found - with nested exception: [net.sf.ehcache.CacheException: Cannot configure CacheManager: File not found] 

请问这是什么原因,
相对应的日志文件如下:
Deployer:149033]preparing application finance on myserver 
[Deployer:149033]prepared application finance on myserver 
[Deployer:149033]activating application finance on myserver 
[Deployer:149033]failed application finance on myserver 
[Deployer:149034]An exception occurred for task [Deployer:149026]Deploy application finance on myserver.: 
Exception:weblogic.management.ApplicationException: start() failed.
Module: finance Error: weblogic.management.DeploymentException: Error creating bean with name 'common.baseDao' defined in URL [zip:D:/Program Files/Bea/user_projects/domains/Finance/myserver/.wlnotdelete/extract/myserver_finance_finance/jarfiles/WEB-INF/lib/financeTemplate.jar!/META-INF/finance/config/applicationContext-dao.xml]: Can't resolve reference to bean 'methodCache' while setting property 'cache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'methodCache' defined in URL [zip:D:/Program Files/Bea/user_projects/domains/Finance/myserver/.wlnotdelete/extract/myserver_finance_finance/jarfiles/WEB-INF/lib/financeTemplate.jar!/META-INF/finance/config/applicationContext-service.xml]: Can't resolve reference to bean 'cacheManager' while setting property 'cacheManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cacheManager' defined in URL [zip:D:/Program Files/Bea/user_projects/domains/Finance/myserver/.wlnotdelete/extract/myserver_finance_finance/jarfiles/WEB-INF/lib/financeTemplate.jar!/META-INF/finance/config/applicationContext-service.xml]: Initialization of bean failed; nested exception is net.sf.ehcache.CacheException: Cannot configure CacheManager: File not found - with nested exception: 
  相关解决方案