Load resources by classpath instead of filesystem.