项目场景:
提示:这里简述项目相关背景000: 这个问题遇到好多次了,一直没能记录下来,今天又碰到了
Error starting ApplicationContext. To display the conditions report re-run your application with ‘debug’ enabled. ERROR 1572 — [ restartedMain] o.s.boot.SpringApplication : Application run fa
org.springframework.transaction.CannotCreateTransactionException: Could not open JDBC Connection for transaction; nested exception is java.sql.SQLException: url not set
该问题是出现在使用spring将数据源配置文件引入到配置类里面的时候
spring将数据源配置文件引入到配置类的两种方式
方式一
方式