Skip to main content

All 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&...
Maryo's user avatar
  • 503
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'...
Evandro Pomatti's user avatar
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 ...
Bobulous's user avatar
  • 13.2k
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 ...
parth karia's user avatar