您需要先创建文件系统,然后才能访问zip之类的路径
final URI uri = getClass().getResource("/my-folder").toURI();Map<String, String> env = new HashMap<>(); env.put("create", "true");FileSystem zipfs = FileSystems.newFileSystem(uri, env);Path myFolderPath = Paths.get(uri);这不会自动完成。
参见http://docs.oracle.com/javase/7/docs/technotes/guides/io/fsp/zipfilesystemprovider.html



