Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • 1
    What is the actual question? Commented Oct 19, 2019 at 21:58
  • I want to get homeDir as the result rather than other results. Commented Oct 19, 2019 at 22:47
  • I have couple of question here, 1) in project root directory which is src ? 2) where are passing the value for this ${LOGNAME}` placeholder ? @new_programmer Commented Oct 20, 2019 at 0:44
  • @Deadpool: 1. Root directory outside src folder. 2. ${LOGNAME} is to replace with userID. so that the path form to /User/<userId> (which is the directory where my application.properties reside) Commented Oct 20, 2019 at 3:11
  • Which spring boot version are you using, @new_programmer ? Commented Oct 29, 2019 at 15:38