Solucionado (ver solução)
Solucionado
(ver solução)
1
resposta

Falha ao Executar o config-server

Olá pessoal,

Não estou conseguindo subir o config-server. O application.yml está assim:

server:
  port: 8888

spring:
  profiles:
    active: native
  cloud:
    config:
      server:
        native:
          search-locations: /Users/jaquelinecampacisilva/microservice-repo

estou com o seguinte erro:

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2022-01-14 15:16:40.089 ERROR 3025 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :


APPLICATION FAILED TO START


Description:

Invalid config server configuration.

Action:

If you are using the git profile, you need to set a Git URI in your configuration. If you have set spring.cloud.config.server.bootstrap=true, you need to use a composite configuration.

1 resposta
solução!

Pessoal, consegui resolver. Por algum motivo estou tendo problema com as dependências no pom.xml. Só que basta eu recortar a parte de dependencyManagement e colar novamente que começa a funcionar.

De qualquer forma, obrigada.

Quer mergulhar em tecnologia e aprendizagem?

Receba a newsletter que o nosso CEO escreve pessoalmente, com insights do mercado de trabalho, ciência e desenvolvimento de software