No converter found capable of converting from type [java.lang.String] to type [java.sql.Driver]

今天学习springboot时,在属性注入的测试中出现了如题所述错误,报错情况如下:
No converter found capable of converting from type [java.lang.String] to type [java.sql.Driver]

经过检查,发现错误所在:

错误所在:

​ 在我写application.properties时,偷懒把jdbc.driverClassName写成了jdbc.driver,改回来就行了。

相关文章:

  • 2021-12-01
  • 2022-01-23
  • 2021-08-31
  • 2022-01-19
  • 2021-08-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-24
  • 2022-12-23
  • 2021-06-04
  • 2022-12-23
  • 2021-11-12
  • 2021-10-31
相关资源
相似解决方案