C:\Program Files\Java\jdk-17\bin\java.exe" "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2024.2.1\lib\idea_rt.jar=56080:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2024.2.1\bin" -Dfile.encoding=UTF-8 -classpath C:\Users\Public\Downloads\filme\out\production\filme Principal.PrincipalComBusca Exception in thread "main" java.net.ConnectException at java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:574) at java.net.http/jdk.internal.net.http.HttpClientFacade.send(HttpClientFacade.java:123) at Principal.PrincipalComBusca.main(PrincipalComBusca.java:17) Caused by: java.net.ConnectException at java.net.http/jdk.internal.net.http.common.Utils.toConnectException(Utils.java:1055) at java.net.http/jdk.internal.net.http.PlainHttpConnection.connectAsync(PlainHttpConnection.java:198) at java.net.http/jdk.internal.net.http.Http1Exchange.sendHeadersAsync(Http1Exchange.java:239) at java.net.http/jdk.internal.net.http.Exchange.lambda$responseAsyncImpl0$9(Exchange.java:525) at java.net.http/jdk.internal.net.http.Exchange.checkFor407(Exchange.java:405) at java.net.http/jdk.internal.net.http.Exchange.lambda$responseAsyncImpl0$10(Exchange.java:529) at java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:934) at java.base/java.util.concurrent.CompletableFuture.uniHandleStage(CompletableFuture.java:950) at java.base/java.util.concurrent.CompletableFuture.handle(CompletableFuture.java:2340) at java.net.http/jdk.internal.net.http.Exchange.responseAsyncImpl0(Exchange.java:529) at java.net.http/jdk.internal.net.http.Exchange.responseAsyncImpl(Exchange.java:381) at java.net.http/jdk.internal.net.http.Exchange.responseAsync(Exchange.java:373) at java.net.http/jdk.internal.net.http.MultiExchange.responseAsyncImpl(MultiExchange.java:408) at java.net.http/jdk.internal.net.http.MultiExchange.lambda$responseAsyncImpl$7(MultiExchange.java:449) at java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:934) at java.base/java.util.concurrent.CompletableFuture.uniHandleStage(CompletableFuture.java:950) at java.base/java.util.concurrent.CompletableFuture.handle(CompletableFuture.java:2340) at java.net.http/jdk.internal.net.http.MultiExchange.responseAsyncImpl(MultiExchange.java:439) at java.net.http/jdk.internal.net.http.MultiExchange.lambda$responseAsync0$2(MultiExchange.java:341) at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1150) at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1773) at java.net.http/jdk.internal.net.http.HttpClientImpl$DelegatingExecutor.execute(HttpClientImpl.java:158) at java.base/java.util.concurrent.CompletableFuture.completeAsync(CompletableFuture.java:2673) at java.net.http/jdk.internal.net.http.MultiExchange.responseAsync(MultiExchange.java:294) at java.net.http/jdk.internal.net.http.HttpClientImpl.sendAsync(HttpClientImpl.java:657) at java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:553) ... 2 more Caused by: java.nio.channels.UnresolvedAddressException at java.base/sun.nio.ch.Net.checkAddress(Net.java:149) at java.base/sun.nio.ch.Net.checkAddress(Net.java:157) at java.base/sun.nio.ch.SocketChannelImpl.checkRemote(SocketChannelImpl.java:816) at java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:839) at java.net.http/jdk.internal.net.http.PlainHttpConnection.lambda$connectAsync$0(PlainHttpConnection.java:183) at java.base/java.security.AccessController.doPrivileged(AccessController.java:569) at java.net.http/jdk.internal.net.http.PlainHttpConnection.connectAsync(PlainHttpConnection.java:185) ... 27 more
Process finished with exit code 1