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:
请各位大侠帮忙看一下,我装的weblogic8.14+sp4
[解决办法]
不会,帮顶
我的异常网推荐解决方案:org.springframework.beans.factory.BeanCreationException:,http://www.myexception.cn/j2ee/10759.html