Luca Tagliani created CXF-7859:
----------------------------------
Summary: Codegen fails when using JDK11 with maven and cxf-plugin
Key: CXF-7859
URL: https://issues.apache.org/jira/browse/CXF-7859
Project: CXF
Issue Type: Bug
Components: Tooling
Affects Versions: 3.2.6
Environment: Apache Maven 3.5.4
openjdk version "11" 2018-09-25
OpenJDK Runtime Environment 18.9 (build 11+28)
OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode)
Java home: C:\Program Files\Java\jdk-11
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
Reporter: Luca Tagliani
I get this error when trying to generate code with the cxf-codegen-plugin:
Running code generation in fork mode...
The java executable is C:\Program Files\Java\jdk-11\bin\java.exe
Building jar:
C:\Users\tagliani\AppData\Local\Temp\cxf-tmp-17226604922481154635\cxf-codegen391028241029031520.jar
Error occurred during initialization of boot layer
java.lang.module.FindException: Module java.xml.ws not found
Error occurred during initialization of boot layer
java.lang.module.FindException: Module java.xml.ws not found
I think it is the fact that in JDK 11 this module has been definitely removed.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)