eureka启动报错:
2018-12-21 17:20:16.480 [main] ERROR - Request execution error
: : eureka02
at .apache4.(:187)
at (:123)
at (:27)
at (:652)
at (:682)
at $200(:74)
at $(:509)
at (:194)
at (:165)
at $(:137)
at (:73)
at (:134)
at $(:137)
at (:118)
at (:79)
at (:134)
at $(:137)
at (:120)
at (:134)
at $(:137)
at (:77)
at (:134)
at (:1051)
at (:965)
at .<init>(:414)
at .<init>(:269)
at .<init>(:63)
at $(:290)
at $RefreshableEurekaClientConfiguration$$EnhancerBySpringCGLIB$$$eurekaClient$0(<generated>)
at $RefreshableEurekaClientConfiguration$$EnhancerBySpringCGLIB$$687f4e66$$FastClassBySpringCGLIB$$(<generated>)
at (:228)
at $(:361)
at $RefreshableEurekaClientConfiguration$$EnhancerBySpringCGLIB$$(<generated>)
at .invoke0(Native Method)
at (:62)
at (:43)
at (:498)
at (:154)
at (:579)
at (:1250)
at (:1099)
at (:541)
at (:501)
at $doGetBean$1(:353)
at $(:390)
at (:184)
at (:350)
at (:199)
at (:35)
at (:193)
at .$(Unknown Source)
at (:164)
at $$EnhancerBySpringCGLIB$$$peerAwareInstanceRegistry$4(<generated>)
at $$EnhancerBySpringCGLIB$$fa8f5928$$FastClassBySpringCGLIB$$(<generated>)
at (:228)
at $(:361)
at $$EnhancerBySpringCGLIB$$(<generated>)
at .invoke0(Native Method)
at (:62)
at (:43)
at (:498)
at (:154)
at (:579)
at (:1250)
at (:1099)
at (:541)
at (:501)
at $doGetBean$0(:317)
at (:228)
at (:315)
at (:199)
at (:251)
at (:1138)
at (:1065)
at (:815)
at (:721)
at (:470)
at (:1250)
at (:1099)
at (:541)
at (:501)
at $doGetBean$0(:317)
at (:228)
at (:315)
at (:199)
at (:251)
at (:1138)
at (:1065)
at $(:584)
at (:91)
at (:373)
at (:1344)
at (:578)
at (:501)
at $doGetBean$0(:317)
at (:228)
at (:315)
at (:199)
at (:760)
at (:869)
at (:550)
at (:140)
at (:759)
at (:395)
at (:327)
at (:1255)
at (:1243)
at (:15)
Caused by: : eureka02
at .(Native Method)
at $(:928)
at (:1323)
at .getAllByName0(:1276)
at (:1192)
at (:1126)
at (:45)
at (:263)
at (:162)
at (:144)
at (:134)
at (:610)
at (:445)
at (:835)
at (:118)
at (:56)
at .apache4.(:173)
... 107 common frames omitted
2018-12-21 17:20:16.483 [main] WARN - Request execution failed with message: : eureka02
2018-12-21 17:20:16.484 [main] ERROR - DiscoveryClient_XC-GOVERN-CENTER/AFOEB-712131752:xc-govern-center:50101 - was unable to refresh its cache! status = Cannot execute request on any known server
: Cannot execute request on any known server
at (:112)
at (:134)
at $(:137)
at (:77)
at (:134)
at (:1051)
at (:965)
at .<init>(:414)
at .<init>(:269)
at .<init>(:63)
at $(:290)
at $RefreshableEurekaClientConfiguration$$EnhancerBySpringCGLIB$$$eurekaClient$0(<generated>)
at $RefreshableEurekaClientConfiguration$$EnhancerBySpringCGLIB$$687f4e66$$FastClassBySpringCGLIB$$(<generated>)
at (:228)
at $(:361)
at $RefreshableEurekaClientConfiguration$$EnhancerBySpringCGLIB$$(<generated>)
at .invoke0(Native Method)
at (:62)
at (:43)
at (:498)
at (:154)
at (:579)
at (:1250)
at (:1099)
at (:541)
at (:501)
at $doGetBean$1(:353)
at $(:390)
at (:184)
at (:350)
at (:199)
at (:35)
at (:193)
at .$(Unknown Source)
at (:164)
at $$EnhancerBySpringCGLIB$$$peerAwareInstanceRegistry$4(<generated>)
at $$EnhancerBySpringCGLIB$$fa8f5928$$FastClassBySpringCGLIB$$(<generated>)
at (:228)
at $(:361)
at $$EnhancerBySpringCGLIB$$(<generated>)
at .invoke0(Native Method)
at (:62)
at (:43)
at (:498)
at (:154)
at (:579)
at (:1250)
at (:1099)
at (:541)
at (:501)
at $doGetBean$0(:317)
at (:228)
at (:315)
at (:199)
at (:251)
at (:1138)
at (:1065)
at (:815)
at (:721)
at (:470)
at (:1250)
at (:1099)
at (:541)
at (:501)
at $doGetBean$0(:317)
at (:228)
at (:315)
at (:199)
at (:251)
at (:1138)
at (:1065)
at $(:584)
at (:91)
at (:373)
at (:1344)
at (:578)
at (:501)
at $doGetBean$0(:317)
at (:228)
at (:315)
at (:199)
at (:760)
at (:869)
at (:550)
at (:140)
at (:759)
at (:395)
at (:327)
at (:1255)
at (:1243)
at (:15)
2018-12-21 17:20:16.486 [main] WARN - Using default backup registry implementation which does not do anything.
2018-12-21 17:20:16.488 [main] INFO - Starting heartbeat executor: renew interval is: 30
2018-12-21 17:20:16.489 [main] INFO - InstanceInfoReplicator onDemand update allowed rate per min is 4
2018-12-21 17:20:16.493 [main] INFO - Discovery Client initialized at timestamp 1545384016491 with initial instances count: 0
2018-12-21 17:20:16.529 [main] INFO - Initializing ...
2018-12-21 17:20:16.530 [main] INFO - Adding new peer nodes [http://eureka02:50102/eureka/]
eureka会自动注册自己,必须设置下面属性
-with-eureka=false
-registry=false
改完重启就行了