Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

267
Visualizações
server.servlet.context-path is not working over AWS enviroment

I have just host my springboot application (WAR) over AWS elastic beanstack, but found one strange issue

server.servlet.context-path= /app-name/api/v0

This is working on localhost perfectly fine but after deploying over aws its not working, however all APIs are working without context path from AWS as well:

Example :

http://awsaddress.com/login  -> its working, but it should like 

 http://awsaddress.com/app-name/api/v0/login  -> its not working

enter image description here

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

I know this thread is quite old, but i was facing the same problem. In my case the solution was to add following lines in application.properties:

server.contextPath = /artifactId
server.servlet.contextPath = /artifactId
over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda