Após subir a aplicação retorna o erro abaixo:
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.*
Thu Apr 06 11:29:46 BRT 2023
There was an unexpected error (type=Not Found, status=404).
application.properties
server.port=8081
spring.application.name=server
eureka.client.register-with-eureka=false
eureka.client.fetch-registry=false
eureka.client.serviceUrl.defaultZone=http://localhost:8081/eureka
ServerApplication.java
package br.com.alurafood.server;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;
@SpringBootApplication
@EnableEurekaServer
public class ServerApplication {
public static void main(String[] args) {
SpringApplication.run(ServerApplication.class, args);
}
}
Estou utilizando a IDE Intellij. Já alterei a porta, mas nenhum sucesso.