服务启动后一直刷[] [] [NA] failed to update serviceName: localhost
服务名是ace-admin
spring:
application:
name: ace-admin
2019-11-09 15:59:16.290 ERROR [ace-admin,,,] 5196 --- [.naming.updater] com.alibaba.nacos.client.naming : [] [] [NA] failed to update serviceName: localhost
java.lang.NullPointerException: null
at java.base/java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936)
at com.alibaba.nacos.client.naming.core.HostReactor.processServiceJSON(HostReactor.java:94)
at com.alibaba.nacos.client.naming.core.HostReactor.updateServiceNow(HostReactor.java:342)
at com.alibaba.nacos.client.naming.core.HostReactor$UpdateTask.run(HostReactor.java:429)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你是不是SpringBoot ---- SpringCloud ---- SpringCloudAlibaba三者版本不对啊
应该是 2.1.x Greenwich 0.9.x.release 这样的版本依赖关系吧
你看一下,我也是猜测