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运行正常!
汇总:每种数据源都有自己的db.properties配置文件的书写方式
参考技术文章:https://blog.csdn.net/MrZero404/article/details/73432724