I am trying to deploy Springboot java application into PCF, We have 2-3 files which our application needs at run time like cert file. I have those files under resources folder but getting error file not found exception.
Can anyone suggest me where can i keep the files so that it gets dump into /var/home/app dir in PCF or do i need to create some env so that app will know where to read the files.
Maybe you can put those files on
Then, in your code something like this:
So, you can pass the path wherever you want to.