admin管理员组

文章数量:1623604

在尚硅谷周阳老师的SpringCloud2 seata配置时有这个错误

BeanNotOfRequiredTypeException: Bean named 'dataSource' is expected to be of type 'io.seata.rm.datasource.DataSourceProxy' but was actually of type 'com.alibaba.druid.pool.DruidDataSource

解决办法:

把DataSourceProxy 换成 DataSource

本文标签: namedbeanBeanNotOfRequiredTypeExceptiontypeexpected