关于NoSuchBeanDefinitionException: No bean named 'xxxx' is defined问题解决

来源:互联网 发布:软件项目报价表 编辑:程序博客网 时间:2024/06/04 01:30
org.springframework.beans.factory.BeanInitializationException: Could not process key 'jdbc.url' in PropertyOverrideConfigurer;
nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'jdbc' is defined


错误原因在于name与c3p0的id不一致

把jdbc修改成dataSource运行正常!

阅读全文
2 0
原创粉丝点击