Skip to content

Context root not taken into account #1859

Answered by scottkurz
julienroy50 asked this question in Q&A
Discussion options

You must be logged in to vote

I think the problem is likely that if you want to use to configure the context root with Spring config server.servlet.context-path=/gap you need to use an optimized Spring Boot deployment rather than a normal WAR deployment (confusingly, it is possible to use a normal WAR deployment to run a Spring Boot application as this post highlights).

When using the dropins folder to deploy, you need to then use the dropins/spring to use the optimized Spring Boot deployment.

That all said, you can achieve hot reload when deploying to the apps folder, so I'm not sure why that's an advantage using dropins. With dropins you don't need server.xml config for your app, of course. This advantage is offset …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by scottkurz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants