[Java] find the application of resources

https://stackoverflow.com/questions/573679/open-resource-with-relative-path-in-java

用法: MyClass.class.getClassLoader().getResource("/config/application.properties")

Guess you like

Origin www.cnblogs.com/helww/p/12600125.html