Found configure multiple data sources after given time springboot upgrade to 2.0:
“jdbcUrl is required with driverClassName.”或者Cause: java.lang.IllegalArgumentException: dataSource or dataSourceClassName or jdbcUrl is required.] with root cause
Mainly during the 1.0 configuration data source is mainly written: spring.datasource.url and spring.datasource.driverClassName.
And after the 2.0 upgrade needs to be changed to: spring.datasource.jdbc-url and spring.datasource.driver-class-name can be solved!
At first solve this problem for a long time, because it is newly updated version of the Internet not long after it was accidentally found less than read an answer forum before Woon Dawu, I hope the fellow not to repeat the same mistakes!