title: Application Root Path of Spring Boot application
body: <p>This <a href="https://stackoverflow.com/questions/39074038/how-to-get-spring-boot-application-root-path">answer</a> is not a standard way to get application root path (file system path). I need to upload a file to a directory e.g. uploads created in application main directory. How can I get the application root path in my Java Class. I am developing Rest API. Please help in this regard.</p>