19 Starting a Eureka server - Spring Boot Microservices Level 1

preview_player
Показать описание
Learn how to download and startup a Eureka server by creating a Spring Boot application. Learn what you need to change in the Spring Boot application to get it to work.

Workshop recorded live on Feb 9, 2019.

Course: Spring Boot Microservices Level 1 - Communication and discovery

This course introduces you to building microservices with Spring Boot and Spring cloud. This is Level 1 - start here if you are completely new to building microservices in Spring.
Рекомендации по теме
Комментарии
Автор

You need to be born to be a good teacher, and this guy is one of them :) Thank you, I always watch your videos with pleasure :)

TheMarkoni
Автор

so at 5:45 when he runs it, I had to add these lines to the applications.properties file for mine to run:
I'm using STS 4 instead of IntelliJ


server.port=8761


codingmechanic
Автор

don't need to add any dependency. just write in application.properties : server.port=8061


sergeiirinalutsev
Автор

It worked for me when i added following 3 lines in application.properties:


server.port=8061


purveshnar
Автор

I've added the JAX-B dependencies in my project all of them yet still I keep getting the error "Implementation of JAXB-API has not been found on module path or classpath.".

What else can I do ?
Anyone else having this problem ?

*EDIT*: Fixed it.
Turns out you need a specific version of the jax-b api and runtime. 2.3.1 and 2.3.3 respectively. I added the latest versions at first which didn't work.

ShinAkuma
Автор

Your videos are really healpful. Thanks a lot Koushik <3

ahmetyasarozer
Автор

Am trying to use the discovery-server archived in github but the Sync is failing though I am using Java11. I am seeing all the dependencies added in pom.xml are mentioned but still couldn't solve the error.

mohansrinivas
Автор

i found with java 17 i didnt need all the jaxb dependencies in my pom.xml, and everything worked fine as far as i can tell. configured the port in application.props. i think the he forgot to configure it in the tut because he had downloaded a previously configured file from the github to save time, so he didnt need to change it.

MyBinaryLife
Автор

how can we register eureka client on ssl enabled eureka server? I am using openshift but it is not registering..

ashuit
Автор

I followed the video but am still having errors, please can you help me?

agbonirojacinta
Автор

followed exactly as instructed in the video. but a lot of errors . unable to continue this series . please anyone help

JohnDoe-ejvm
Автор

I am getting Cannot execute request on any known server, I am not able to connect client with eureka server.
Any help ?

NIs
Автор

I'm sorry eureka doesn't start by default at 8761 just like other spring boot apps it starts at port 8080 unless we specify it happened in my case with STS 4

dileepnb
Автор

was getting errors: com/sun/xml/bind/Util...., after hit and trial resolved the issue by changing the jaxb-runtime version to 3.0.2

abhishekkumar-yhpp
Автор

I have never seen better Indian teacher :O <3

ItsGosho
Автор

Thanks for a great post on Java 11 and JAXB. It was the problem I ran into and trying to solve. Your video pointed me to the right direction.

michaelbronshteyn
Автор

In JDK 16 do not need to add JAX dependencies.

moratrolls
Автор

There are some changes now. Server port defaults to 8080. @EnableEurekaServer is not optional.

HallaBolful
Автор

Hello Sir,
As we saw that from output console that Eureka server started and after that Tomact server also started so Eurek is using tomact sever's instance using port no 8761 or how it configured under spring project? Request you to highlight the same.

vinodkarathiyaofficial
Автор

the default port where eureka server starts is 8080, port 8761 doesnt exist by default.

sumityadav