Панель мониторинга сервера Eureka не отображается ⇐ JAVA
-
Гость
Панель мониторинга сервера Eureka не отображается
This is EurekaServerApplication :
package dev.nano.eurekaserver; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer; @SpringBootApplication @EnableEurekaServer public class EurekaServerApplication { public static void main(String[] args) { SpringApplication.run(EurekaServerApplication.class, args); } } and this is the eureka server application.yml :
#Server server: port: 8761 #Spring spring: application: name: eureka-server output: ansi: enabled: ALWAYS #Eureka-Server eureka: instance: hostname: localhost client: fetch-registry: false register-with-eureka: false and heres the eureka server pom.xml :
ecomicroservices dev.nano 1.0-SNAPSHOT 4.0.0 eureka-server org.springframework.cloud spring-cloud-starter-netflix-eureka-server org.springframework.boot spring-boot-maven-plugin these r the versions im using in the parent module :
UTF-8 17 17 3.8.0 1.18.22 1.4.2.Final 3.2.3 0.2.0 3.2.3 2020.0.3 everything seems right but when i run the app i just get a 404 error page, im using jdk 17.
i tried changing the port multiple times, tried private navigator, tried a differrent browser, tried restarting pc.
Источник: https://stackoverflow.com/questions/781 ... ot-showing
This is EurekaServerApplication :
package dev.nano.eurekaserver; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer; @SpringBootApplication @EnableEurekaServer public class EurekaServerApplication { public static void main(String[] args) { SpringApplication.run(EurekaServerApplication.class, args); } } and this is the eureka server application.yml :
#Server server: port: 8761 #Spring spring: application: name: eureka-server output: ansi: enabled: ALWAYS #Eureka-Server eureka: instance: hostname: localhost client: fetch-registry: false register-with-eureka: false and heres the eureka server pom.xml :
ecomicroservices dev.nano 1.0-SNAPSHOT 4.0.0 eureka-server org.springframework.cloud spring-cloud-starter-netflix-eureka-server org.springframework.boot spring-boot-maven-plugin these r the versions im using in the parent module :
UTF-8 17 17 3.8.0 1.18.22 1.4.2.Final 3.2.3 0.2.0 3.2.3 2020.0.3 everything seems right but when i run the app i just get a 404 error page, im using jdk 17.
i tried changing the port multiple times, tried private navigator, tried a differrent browser, tried restarting pc.
Источник: https://stackoverflow.com/questions/781 ... ot-showing
Мобильная версия