The proper way that actually works: URL resource = YourClass.class.getResource("abc"); Paths.get(resource.toURI()).toFile(); It doesn't matter now where the ...
確定! 回上一頁