Stack Overflow на русском Asked by uimpl on January 24, 2021
java: exporting a package from system module jdk.compiler is not allowed with –release
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URL;
public class Main {
public static void main(String[] args) throws IOException {
final URL url = new URL("http://jsonplaceholder.typicode.com/posts?_limit=10");
final HttpURLConnection con = (HttpURLConnection) url.openConnection();
System.out.println(url);
System.out.println(con);
}
}
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP