netflix-eureka

Spring Cloud Config in Docker container is not accessible

家住魔仙堡 提交于 2021-02-08 03:41:20
问题 I have a relatively simple setup. A Spring Could Config server, and a Spring Cloud Eureka server. (I refer Eureka server as Discover everywhere in my config...) The config server uses a Git repository for finding the appropriate config. Everything is in Docker containers. I use docker-compose to build my services. The Gateway server should wait for config server to come up. I'll provide the source of the file further down. So, when I build and start the containers, the discovery (Eureka)

Spring - service shuts down after being discovered by eureka server

无人久伴 提交于 2021-01-28 18:09:34
问题 My service "app-name" shuts down unexpectedly right after having started. At that time The eureka server is running on port 8761 The service has been successfully discovered by the eureka server (registration status: 204 , registering application with eureka with status UP ) The discovered app has fully started on port 9100 ( Started <app-name> in 7.427 seconds (JVM running for 7.999 ) If I don't include service discovery the app starts up fine Here is the java implementation //Eureka server

Eureka and Jersey 2.x

≡放荡痞女 提交于 2021-01-27 07:21:37
问题 I am using Spring Boot and looking for a discovery server. I see that "spring-cloud-starter-netflix-eureka-server" has a dependency on Jersey 1.x which is not an option to use in my environment. There are a couple of threads talking about adding compatibility with Jersey 2.x and some others talking about removing Jersey all together. However I don't see any links to documentation/code related to either of these options and how to use them. Can someone please point me to the options I have

Eureka and Jersey 2.x

自古美人都是妖i 提交于 2021-01-27 07:20:30
问题 I am using Spring Boot and looking for a discovery server. I see that "spring-cloud-starter-netflix-eureka-server" has a dependency on Jersey 1.x which is not an option to use in my environment. There are a couple of threads talking about adding compatibility with Jersey 2.x and some others talking about removing Jersey all together. However I don't see any links to documentation/code related to either of these options and how to use them. Can someone please point me to the options I have

spring boot cloud eurka windows 10 eurkea returns host.docker.internal for client host name after latest docker upgrade

我的未来我决定 提交于 2021-01-27 06:07:49
问题 Spring Boot Cloud Disovery Question, Problem with Eureka hostname after docker upgrade on windows 10. (Note: docker is not hosting spring services, just mariadb, rabbitmq, and zipkin) Summary I am developing on windows 10 enterpise, latest patch java 8 sts 4 docker to host mariadb, rabbitmq and zipkin (no services run docker) Using spring boot cloud discovery based on Eureka for service discovery Everything worked fine until the docker update today, after the docker upgrade Eureka returns

spring boot cloud eurka windows 10 eurkea returns host.docker.internal for client host name after latest docker upgrade

怎甘沉沦 提交于 2021-01-27 06:07:49
问题 Spring Boot Cloud Disovery Question, Problem with Eureka hostname after docker upgrade on windows 10. (Note: docker is not hosting spring services, just mariadb, rabbitmq, and zipkin) Summary I am developing on windows 10 enterpise, latest patch java 8 sts 4 docker to host mariadb, rabbitmq and zipkin (no services run docker) Using spring boot cloud discovery based on Eureka for service discovery Everything worked fine until the docker update today, after the docker upgrade Eureka returns

java.lang.ClassNotFoundException: com.netflix.discovery.EurekaClientConfig

心不动则不痛 提交于 2021-01-01 10:03:21
问题 I'm using Spring Cloud Eureka and creating the project using Spring Initializr (http://start.spring.io/). The generated POM user Eureka Finchley.RC2 with Spring Boot 2.0.2.RELEASE . When I add the annotation @EnableEurekaServer in the main class, the one annotated with @SpringBootApplication also, and I start the server with following command: mvn spring-boot:run I receive the exception java.lang.ClassNotFoundException: com.netflix.discovery.EurekaClientConfig the following is the pom.xml

java.lang.ClassNotFoundException: com.netflix.discovery.EurekaClientConfig

一个人想着一个人 提交于 2021-01-01 10:02:18
问题 I'm using Spring Cloud Eureka and creating the project using Spring Initializr (http://start.spring.io/). The generated POM user Eureka Finchley.RC2 with Spring Boot 2.0.2.RELEASE . When I add the annotation @EnableEurekaServer in the main class, the one annotated with @SpringBootApplication also, and I start the server with following command: mvn spring-boot:run I receive the exception java.lang.ClassNotFoundException: com.netflix.discovery.EurekaClientConfig the following is the pom.xml

java.lang.ClassNotFoundException: com.netflix.discovery.EurekaClientConfig

丶灬走出姿态 提交于 2021-01-01 10:01:46
问题 I'm using Spring Cloud Eureka and creating the project using Spring Initializr (http://start.spring.io/). The generated POM user Eureka Finchley.RC2 with Spring Boot 2.0.2.RELEASE . When I add the annotation @EnableEurekaServer in the main class, the one annotated with @SpringBootApplication also, and I start the server with following command: mvn spring-boot:run I receive the exception java.lang.ClassNotFoundException: com.netflix.discovery.EurekaClientConfig the following is the pom.xml