@NacosInjected private NamingService namingService 为空

2021-04-07 11:06:19 浏览数 (2)

maven添加nacos包

代码语言:javascript复制
<dependency>
    <groupId>com.alibaba.boot</groupId>
    <artifactId>nacos-discovery-spring-boot-starter</artifactId>
    <version>0.2.1</version>
</dependency>

发布者:全栈程序员栈长,转转请注明出处:https://javaforall.cn/2185.html原文链接:

0 人点赞