Bug Eureka Server page opens when accessing localhost:8761 with maven build, the same app in gradle shows 404 WhiteLabel error page. Using Spring boot 2.3.1, Java 11
- Download from Spring Initializer. with following configs
-
Add
@EnableEurekaServerin Main Class -
Add config in application.properties
spring.application.name=netflix-eureka-naming-server
server.port=8761
eureka.client.register-with-eureka=false
eureka.client.fetch-registry=false
- Run the application, access localhost:8761 -> throws 404
Comment From: spencergibb
Can you explain how you are running the apps?
Comment From: abitgen
I use Intellij idea and I directly run the main method.
Comment From: spencergibb
I'm unable to reproduce the problem.
Can you provide a complete, minimal, verifiable sample that reproduces the problem? It should be available as a GitHub (or similar) project or attached to this issue as a zip file.
Comment From: abitgen
Hi Spencer, PFA the requested sample, I am using gradle 5.6.2 and intellij 2019.1 discovery-service.zip
Comment From: abitgen
Tried with gradle 6.4.1 and kotlin compile version 11/ gradle 5.6.2 and kotlin compile version 1.8 today its working as expected. Don't understand what caused the issue in the first place. Closing it now.