]
Richard Opalka resolved WFLY-12290.
-----------------------------------
Resolution: Done
Class java.net.HttpClient not found in Wildfly 17
-------------------------------------------------
Key: WFLY-12290
URL:
https://issues.redhat.com/browse/WFLY-12290
Project: WildFly
Issue Type: Bug
Components: Class Loading
Affects Versions: 17.0.1.Final
Environment: Development: Win 10, JDK 11, Eclipse 2019-06
Reporter: André Kornetzky
Assignee: Richard Opalka
Priority: Minor
Labels: Modules, jdk11
Fix For: 19.0.0.Final
When I deploy my war module, I get the following error:
Caused by: java.lang.ClassNotFoundException: java.net.http.HttpClient from [Module
"deployment.webservice-impl-1-3.0.0.war" from Service Module Loader]
In the same environment is also a Wildfly 16.0.0 installed. There the war module starts
without errors.
In the discussion on
https://developer.jboss.org/message/990207?et=watches.email.thread#990207 it was said that
this was not considered by the upgrading of the JBoss module:
https://github.com/wildfly/wildfly-core/commit/fc649ab01eff81c55084d241fb...