Support loading resources from classpath and absolute paths, close #1083, close #1084