Fixed ResourceHandler to correctly handle resource from classpath