问题描述:

nacos配置文件读取错误
Ignore the empty nacos configuration and get it based on dataId[null.properties] & group[DEFAULT_GROUP]
2021-09-22 14:16:51.507 INFO [-,] 15592 — [ restartedMain] b.c.PropertySourceBootstrapConfiguration : Located property source: CompositePropertySource {name=‘NACOS’, propertySources=[NacosPropertySource {name=‘null.properties,DEFAULT_GROUP’}]}

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 (no profiles are currently active).

 

解决方案1:

  1. 重启nacos服务
  2. 重启电脑

解决方案2:

bootstrap.yaml所在资源文件(resources)不是资源文件夹
鼠标右键resouces > Mark Directory as > resources root

Logo

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

更多推荐