The original usage of adding dependency is as follows:
dependencies {
compile(” org.springframework.cloud :spring-cloud-starter-netflix-eureka- client:2.0.4.RELEASE “)
}
When starting, an error will be prompted: [warn] [2020-08-18 14:45:15.922] [main] com.netflix.discovery .DiscoveryClient [1297] – Saw local status change event StatusChangeEvent [timestamp=1597733115922, current=DOWN, previous=UP]
Later, it was found that the problem was how to write the service name
Add the dependency as follows:
dependencies {
compile(” org.springframework.cloud :spring-cloud-starter-netflix-eureka- client:2.0.4.RELEASE “)
compile(” org.apache.commons :commons-lang3:3.8.1″)
}
The service can be registered to Eureka
Read More:
- Saw local status change event statuschangeevent error during springcloud client registration
- [Solved] Error in registering Eureka for spring cloud micro service: classnotfoundexception: org.apache.http.conn.scheme.schemeregistry
- Building Eureka_ Server error: application failed to start with classpath:file :/C:/ProgramFiles/Java/jdk
- How to Change Local Path in TFS
- Hzero – if the local swagger fails to register, the connection timeout or gateway error will be displayed
- Resolve zuul the HTTP status 500 – internal server error error error displayed after startup
- [Solved] VUE3.0 Warning: Added non-passive event listener to a scroll-blocking ‘mousewheel‘ event如何解决
- After introducing security, the service cannot be registered with Eureka
- Failed to register observatory port with mDNS with error
- FTP 550 Failed to change directory
- Integration openfeign failed to start
- Unable to register the DLL/OCX: RegSvr32 failed with exit code 0x3 My solution
- Eureka starts abnormally and prompts FreeMarker template error
- Idea start error: java.lang.IllegalStateException : failed to create a child event loop
- Error connecting to the target: (Error -6305) PRSC module failed to write to to a register
- Common errors reported by Eureka in spring cloud
- Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot
- Resolve the problem of “event ID 4107” or “event ID 11” errors recorded in the application logs of windows and windows server
- ajax error 400 (Failed to load resource: the server responded with a status of 400 (Bad Request))
- JQ adds a click event to the option of select