java获取资源路径
Thread.currentThread().getContextClassLoader().getResource("") ->E:/workspace/javaProj/bin/?
JavaFile.class.getClassLoader().getResource("") ->E:/workspace/javaProj/bin/?
ClassLoader.getSystemResource("") ->E:/workspace/javaProj/bin/?
JavaFile.class.getResource("") ->E:/workspace/javaProj/bin/com/.....
JavaFile.class.getResource("/") ->E:/workspace/javaProj/bin/?
new File("/").getAbsolutePath() ->E:/
System.getProperty("user.dir") ->E:/workspace/javaProj