NACOS 2.2.2 com.alibaba.nacos.api.exception.NacosException: user not found!
因服务端设置了鉴权,nacos.core.auth.enabled=true
(参照官方文档https://nacos.io/zh-cn/docs/auth.html)
客户端需增加相关配置(username和password)
spring:
application:
name: xxxxx
cloud:
nacos:
server-addr: xxxxxx
config:
file-extension: yaml
refresh-enabled: true
username: nacos
password: nacos