单机模式启动failed to req API:/nacos/v1/ns/instance/beat

Blade 未结 0 4423
pssion
pssion 剑童 2019-06-28 11:42

2019-06-28 11:37:30.070 ERROR 32189 --- [ing.beat.sender] com.alibaba.nacos.client.naming          : [CLIENT-BEAT] failed to send beat: {"cluster":"DEFAULT","ip":"192.168.0.154","metadata":{"preserved.register.source":"SPRING_CLOUD"},"port":7007,"scheduled":true,"serviceName":"DEFAULT_GROUP@@blade-develop","weight":1.0}


java.lang.IllegalStateException: failed to req API:/nacos/v1/ns/instance/beat after all servers([127.0.0.1:8848]) tried: failed to req API:http://127.0.0.1:8848/nacos/v1/ns/instance/beat. code:500 msg: org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.NoSuchMethodError: com.alibaba.nacos.naming.core.Instance.getInstanceHeartBeatInterval()J

at com.alibaba.nacos.client.naming.net.NamingProxy.reqAPI(NamingProxy.java:380)

at com.alibaba.nacos.client.naming.net.NamingProxy.reqAPI(NamingProxy.java:304)

at com.alibaba.nacos.client.naming.net.NamingProxy.sendBeat(NamingProxy.java:227)

at com.alibaba.nacos.client.naming.beat.BeatReactor$BeatTask.run(BeatReactor.java:109)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

at java.lang.Thread.run(Thread.java:748)


回答
  • 消灭零回复
提交回复