主题:整合springboot 加双数据源报错

ko889910 2019年03月05日 44

Parameter 0 of method beetlSqlDataSource in com.lk.rulegenerate.datamodel.conf.DataSourceConfig required a bean of type 'javax.sql.DataSource' that could not be found. - Bean method 'dataSource' not loaded because @ConditionalOnProperty (spring.datasource.type) did not find property 'spring.datasource.type' - Bean method 'dataSource' not loaded because @ConditionalOnProperty (spring.datasource.jndi-name) did not find property 'jndi-name' - Bean method 'dataSource' not loaded because @ConditionalOnClass did not find required class 'javax.transaction.TransactionManager'


按照教程来的,单数据源的时候可以正常使用