2/17/2023 0 Comments Java 8 http clientdmlloyd or brian.stansberry may perhaps have some inputs on this. The reason I say this is - the .* class are just like any other Java runtime classes and should be available by default to deployments. Having said that, I still don't think these dependencies should be explicitly added. One is what Tomaz mentioned in his reply and the other is to just added a dependency on "" (Java) module from within your application (either through the use of a jboss-deployment-structure.xml or the "Dependencies" attribute in MANIFEST.MF - more details here Developer Guide ) So the Java module is no longer added to the runtime options. This tutorial showed you the necessary steps to install Java 8 and Java 11 on a. However, it looks like this was changed in WildFly 17.x as part of this upgrade Upgrading JBoss Modules from 1.9.0.Final to 1.9.1.Final HTTP Client made standard (the one added in Java 9). Previously, before WildFly 17.x, the "" module was added to the runtime when the server was started using a Java version that supported Java modules (Java 9+ runtimes). Is there a bug in the current Wildfly version? There the war module starts without errors. ![]() In the same environment is also a Wildfly 16.0.0 installed. ![]() In the settings under "Runtime Environment", the Java 11 version is entered correctly. I start the Wildfly Server version 17.0.1 in Eclipse 2019-06 with the JBoss Tools 4.12.0.Final. I am using a Windows 10 environment with JDK 11 installed. 14:37:30,565 ERROR (MSC service thread 1-2) MSC000001: Failed to start service ."webservice-impl-1-3.0.0.war".POST_MODULE: .StartException in service ."webservice-impl-1-3.0.0.war".POST_MODULE: WFLYSRV0153: Failed to process phase POST_MODULE of deployment "webservice-impl-1-3.0.0.war"Īt java.base/(Thread.java:835)Ĭaused by: : WFLYSRV0177: Error getting reflective information for class XXX with ClassLoader ModuleClassLoader for Module "deployment.webservice-impl-1-3.0.0.war" from Service Module LoaderĬaused by: : Ljava/net/http/HttpClient Īt java.base/0(Native Method)Īt java.base/(Class.java:3067)Īt java.base/(Class.java:2254)Ĭaused by: : from Īt .findClass(ModuleClassLoader.java:255)Īt .performLoadClassUnchecked(ConcurrentClassLoader.java:410)Īt .performLoadClass(ConcurrentClassLoader.java:398)Īt .loadClass(ConcurrentClassLoader.java:116)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |