Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Context Path not being read from application.properties file #2

Open
AkhtarShahid opened this issue Aug 23, 2017 · 1 comment
Open

Comments

@AkhtarShahid
Copy link

-I added an application.properties file in resource folder which has contextPath defined in that like
server.contextPath=/db/makeCall. But when i deploy the application in local tomcat then it ignores context Path and just takes war file name in context path. But the same application when i use with embedded tomcat then it takes the contexPath from application.properties file.

@nagkumar
Copy link

yes, all the tomcat properties (including port, contextpat etc..) set in application.properties are applicable only to embedded tomcat, which is used when bootRun target is used..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants