SSM+Maven框架启动Tomcat服务器报错误 'java.lang.String' to required type 'javax.sql.DataSource'
错误是这样的:
Error creating bean with name 'org.springframework.jdbc.datasource.DataSourceTransactionManager#0'
Failed to convert property value of type 'java.lang.String' to required type 'javax.sql.DataSource'
是这样的:
可能就是:
在配置<property>的时候把ref 写成了 value.。