Description:

Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.

Reason: Failed to determine a suitable driver classAction:

Consider the following:
If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
If you have database settings to be loaded from a particular profile you may need to activate it (the profiles local are currently active).

见 NACOS 和 Spring Boot 配合的一个错误 ERROR 98830 --- [s.client.Worker] com.alibaba.nacos.common.remote.client-CSDN博客

因为 server-addr 的位置在 discovery 导致配置的 jbdc.yaml 无法获取 server-addr 信息而数据库加载失败。

Logo

北京人形旗下天工造物具身智能开源社区,聚焦具身天工与慧思开物两大平台

更多推荐