Spring整合Mybatis报错 出现以下错误: 字符串类型无法转换为java.sqlDataSource类型(大致这个意思) 出错原因为: Spring注入时,引用数据类型赋值使用ref 而不能使用value
Caused by
: java
.lang
.IllegalStateException
: Cannot convert value of type
'java.lang.String' to required type
'javax.sql.DataSource' for property
'dataSource': no matching editors or conversion strategy found
出错原因为:
Spring注入时,引用数据类型赋值使用ref 而不能使用value