Fix resource loading of spring