出现找个问题的主要原因,是因为代码中的@ConfigurationProperties(prefix="spring.datasource.druid")和application.properties配置文件中的前缀不一致的问题。

 

java.sql.SQLException: url not set

java.sql.SQLException: url not set

两者保持一致就可以了。

相关文章:

  • 2021-09-25
  • 2021-10-25
  • 2021-12-26
  • 2021-08-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-20
猜你喜欢
  • 2022-12-23
  • 2021-06-16
  • 2022-01-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案