一、問題
最近在搭spring的批量框架,報錯頻繁,算是一趟趟坑之旅吧;
Cannot convert value of type 'java.lang.String' to
required type 'javax.sql.DataSource' for property 'dataSource':
no matching editors or conversion strategy found
二、解決
原因就是在持久層的xml配置裏,將【ref】寫錯成了【value】;
最近在搭spring的批量框架,報錯頻繁,算是一趟趟坑之旅吧;
Cannot convert value of type 'java.lang.String' to
required type 'javax.sql.DataSource' for property 'dataSource':
no matching editors or conversion strategy found
原因就是在持久層的xml配置裏,將【ref】寫錯成了【value】;