Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

273
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda