All Questions
Tagged with java-http-client java-module
4 questions
3
votes
2
answers
6k
views
Use jdk.internal.net.http
I would like to use ResponseSubscribers.ByteArraySubscriber that is in jdk.internal.net.http. I use openjdk11.
I tried 2 things :
1/
I added to maven compiler plugin exports module
<compilerArgs&...
2
votes
1
answer
1k
views
WildFly Service Module Loader - ClassNotFound on jdk.incubator.http.HttpClient
I am using WildFly15 with JDK 10 to build an application with the new HTTP Client and when I declare the jdk.incubator.httpclient as the only and single requirement in my module it works fine. (I can'...
1
vote
1
answer
4k
views
Make the new JDK 11 java.net.http package visible in Netbeans 10
After opening an existing Netbeans 8 project in Apache Netbeans 10, and setting the Java version to the newest JDK 11, Netbeans is still unable to resolve references to the new java.net.http package ...
8
votes
2
answers
5k
views
Java 9 HttpClient java.lang.NoClassDefFoundError: jdk/incubator/http/HttpClient
I am trying to use the HttpClient from incubator in Java 9 maven project. I am not getting any Compilation issue. The project builds successfully. But when I try to run the Main class, it gives me ...