启动时,在 nacos 导入位置中未指定偏好设置,因此打印了错误日志"非法偏好值:"
作者: Yanzk创建于 2026年9月22日更新于 2026年9月22日
NacosConfigDataLocationResolver#loadConfigDataResources normalizes an absent preference to "":
NacosConfigDataLoader#loadConfigData expects an empty preference to be represented by null:
NacosConfigDataLoader#loadConfigData expects an empty preference to be represented by null:
This is the root cause of the bug.
内容来源: alibaba/spring-cloud-alibaba