Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

266
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!