【java】查找应用程序的资源

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

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

posted on 2020-03-30 18:00  awildfish  阅读(142)  评论(0编辑  收藏  举报

导航