You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Andriy Redko (JIRA)" <ji...@apache.org> on 2018/10/01 10:54:00 UTC

[jira] [Resolved] (CXF-7859) Codegen fails when using JDK11 with maven and cxf-plugin

     [ https://issues.apache.org/jira/browse/CXF-7859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andriy Redko resolved CXF-7859.
-------------------------------
    Resolution: Duplicate

Please check out https://issues.apache.org/jira/browse/CXF-7852

> 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
>            Priority: Major
>              Labels: jdk11
>
> 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)