Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the default deployment location for spring boot application with embedded tomcat?

Tags:

spring-boot

Does anybody know it ? I just want this information so that I may see how tomcat has delpoyed my application and it may help me to resolve some deployment problems earlier.

Thanks in advance for all responses.

like image 406
abhi3232 Avatar asked Sep 19 '25 18:09

abhi3232


1 Answers

When you run spring boot project with embedded tomcat files are extracted under /tmp dir. you can modify the path, changing from /tmp to other directory with server.tomcat.basedir property.

like image 52
Sergey Hlghatyan Avatar answered Sep 23 '25 07:09

Sergey Hlghatyan