【问题描述】
微服务发布到服务器上时获取不到nacos配置,启动工程报错:
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ssoConfig': Injection of autowired dependencies failed;
nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'sso.server.url' in value "${sso.server.url}"
【原因分析】
其实,这是一个很简单的问题,主要是在.gitlab-ci.yml配置文件中,namespace与nacos上面的命名空间ID保持一致!
标签:url,上时,配置,nacos,sso,服务器 From: https://www.cnblogs.com/heyi-77/p/17654841.html