In the program of uploading files to a server location, instead of using absolute location for saving file to that path, relative path needs to be used. Program was working correctly for absolute path.
In the maven project with the following directory structure , I created a resources folder in the Read more…