Closed lixiaolin2018 closed 4 years ago
nacos server版本是1.2.0 springcloud是Hoxton.RELEASE. 在nacos中将nacos.core.auth.enabled=true开启后,我的服务注册不到nacos里,如果设置成false是没问题的,文档里需要配置username、password,但在application.yml里是找不到这两个配置属性。是不是springcloud Hoxton还没有支持最新的nacos1.2.0的版本,我想使用其中的权限功能
我也碰到了同样的问题。按照Nacos 1.2.0 权限控制介绍和使用上面描述的初始化后,还是报同样的错误,不知道是不是实现方式哪个地方有遗漏。。
按照Nacos 1.2.0权限控制介绍和使用上面描述的初始化后,还是报同样的错误,不知道是不是实现方式其中地方有遗漏。。
我初始化时没有userName和password两个属性
是这两个属性没有吗? // 配置用户名: properties.put(PropertyKeyConst.USERNAME, "user1"); // 配置密码: properties.put(PropertyKeyConst.PASSWORD, "pwd1"); nacos-client的版本要升级到1.2.0,先把spring-cloud依赖里面的nacos-client exclude掉,然后再单独引入1.2.0版本的依赖。
建议作者:spring-cloud-alibaba-config和nacos-discovery-spring-boot-autoconfigure 也同步做些升级吧。
Issue moved to alibaba/spring-cloud-alibaba #1269 via ZenHub
This function has been adapted. We are waiting for the release of spring cloud alibaba
sprinspring版本2.2.5
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.