this.getClass().getResource(String name).getPath() 获取classpath路径(类路径),就是存放.class等编译后的文件路径

NoSuchKey