src/main/resources/static/ is on your class path, so you should be able to reference things relative to the class path. You could also use relative filesystem paths.
If you need to reference something using a full filesystem path, you can use the `user.home` system property to get the home directory or you can use the `user.dir` system property to get the working directory. Then you can build paths based on that.
Hope that helps!