Take the following code example:
When run from a foo-swarm.jar, that code looks for static content relative to $PWD. Instead, it should look for the static content inside the jar. It doesn't appear src/main/resources/ ends up inside the -swarm.jar by default, or at least not in the web-client of our booker sample app, so perhaps it is looking in the jar first and falling back to $PWD?
Either way, we need to figure out the right way to handle static assets when run from a fatjar.