79501008

Date: 2025-03-11 14:06:09
Score: 1
Natty:
Report link

The issue was because I forgot to add the application name in the pom.xml inside the resources folder. The updated pom.xml is as follows.

spring:
  application:
    name: eurekaserver
  config:
    import: "configserver:http://localhost:8071"
  profiles:
    active: dev

management:
  endpoints:
    web:
      exposure:
        include: "*"
  health:
    readiness-state:
      enabled: true
    liveness-state:
      enabled: true
  endpoint:
    health:
      probes:
        enabled: true
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Lasal Hettiarachchi