随笔分类 -  Java

摘要:本文主要是研究下面集中方法到底谁才能真正的load到文件,你能一眼看出来吗? GetResourcesSample.class.getClassLoader.getResourceAsStream("main-resources-file.txt") GetResourcesSample.class 阅读全文
posted @ 2017-12-17 16:59 ydjfish 阅读(418) 评论(0) 推荐(0)
摘要:Process finished with exit code 0 Exception in thread "main" java.lang.ExceptionInInitializerError at java.lang.Class.forName0(Native Method) at java. 阅读全文
posted @ 2017-07-26 09:55 ydjfish 阅读(3949) 评论(0) 推荐(0)