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

NoSuchKey

猜你喜欢

转载自blog.csdn.net/weixin_42046751/article/details/102018918