错误是这样的:

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' 

是这样的:

SSM+Maven框架启动Tomcat服务器报错误 'java.lang.String' to required type 'javax.sql.DataSource'

 

可能就是:

SSM+Maven框架启动Tomcat服务器报错误 'java.lang.String' to required type 'javax.sql.DataSource'

在配置<property>的时候把ref  写成了 value.。

 

 

 

 

相关文章:

  • 2022-12-23
  • 2021-12-30
  • 2021-11-04
  • 2022-12-23
  • 2022-12-23
  • 2021-05-16
  • 2021-07-03
猜你喜欢
  • 2021-10-28
  • 2022-12-23
  • 2021-06-12
  • 2021-08-17
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案