[2012-12-21 13:11:37,375 ERROR org.springframework.web.context.ContextLoader,206 ] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.InvalidPropertyException: Invalid property 'driver' of bean class [org.apache.commons.dbcp.BasicDataSource]: No property 'driver' found
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:547)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:485)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:169)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:170)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:413)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:735)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:369)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:251)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:190)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3631)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4065)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1003)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1003)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:437)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2010)
at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
Caused by: org.springframework.beans.InvalidPropertyException: Invalid property 'driver' of bean class [org.apache.commons.dbcp.BasicDataSource]: No property 'driver' found
at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:386)
详细解决方案
org.springframework.beans.factory.BeanCreationException解决思路
热度:4013 发布时间:2013-02-25 21:06:32.0
相关解决方案
- java.lang.NoSuchMethodError: org.springframework.util.ReflectionUtils.makeAccess,该如何解决
- org.springframework.beans.factory.BeanCreationException解决思路
- 出现org.springframework.beans.factory.BeanCreationException这个异常,不知道如何改了,大家帮帮忙
- org.springframework.beans.factory.BeanDefinitionStoreException: IOException pars解决方法
- org.springframework.orm.hibernate3.HibernateSystemException: Unknown entity: Use,该怎么解决
- jdbc连接池中,naming-factory.jar用来做什么的?解决方法
- org.springframework.beans.factory.BeanCreationException: Error
- org.springframework.beans.factory.BeanCreationException: Error creating bean,该如何处理
- java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderL,该如何处理
- java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderL解决思路
- org.springframework.orm.hibernate3.HibernateSystemException,该如何处理
- 报org.springframework.beans.factory.BeanCreationException错求解决,该如何处理
- catch ( org.springframework.dao.DataAccessException e) {
- ERROR [org.springframework.web.context.ContextLoader] Context initialization fai,该怎么处理
- nested exception is org.springframework.aop.framework.AopConfigException:
- is org.springframework.beans.BeanInstantiationException: Could
- 请问org.springframework.web.context.ContextLoaderListener配置struts2和spring以及路径关系
- 讨论下 工厂方法(Factory Method)模式解决思路
- 使用Setup Factory 异常2091: 无法打开输出文件来压缩
- IE7客户端访问时 factory.printing 为空或不是对象,怎么处理?
- Smart Client Software Factory(SCSF)解决办法
- Setup Factory 7.0制作的安装包,怎么把注册表里的路径show出来?
- 小弟我用setup factory 打包 要怎么才能写如注册表
- Setup Factory 7 有关问题
- Setup Factory 7 制作程序后,主程序在电脑的开始-所有程序内,只有图标,没有程序名称.询小弟我因在哪设置
- 7、org.springframework.dao.TransientDataAccessResourceException
- org.springframework.dao.InvalidDataAccessApiUsageException异常
- org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 一, actual 0
- Not binding factory to JNDI, no JNDI name configured(按解决先后顺序,First50分,逐次递减),该如何解决
- Not binding factory to JNDI, no JNDI name configured(按解决先后顺序,First50分,逐次递减),该怎么解决