【Nacos】启动报错:Nacos Server did not start because dumpservice bean construction failure:No DataSource set

错误内容

Nacos Server did not start because dumpservice bean construction failure:No DataSource set

解决办法

修改配置文件,将mysql数据库的连接超时时间调大

  • 路径:nacos-server-2.0.3\nacos\conf\application.properties
  • 将数据库连接配置中的【&connectTimeout=1000&socketTimeout=3000】 改为 10000 和 30000
posted @ 2023-07-28 09:58  iyobucuo  阅读(347)  评论(0)    收藏  举报