Hi, How are you specifying the path for the properties file? Have you tried reading the properties by using this.getClass().getClassLoader().getResource()?
Best, Aljoscha > On 8. Sep 2017, at 16:32, Tony Wei <tony19920...@gmail.com> wrote: > > Hi, > > I put the my configuration file in `./src/main/resources/` and packed it > inside my jar. > I want to run it on standalone cluster by using web UI to submit my job. > No matter which way I tried, the ParameterTool.fromPropertiesFile() couldn't > find the file path, but threw `FileNotFoundException` instead. > Is there any best practice to deal with such problem? Thanks for your help. > > Best Regards, > Tony Wei