Move static resources to src/main/resources
According to the spring boot documentation we should not use
src/main/webapp if the app will be packaged as jar.