You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "kongyeku (JIRA)" <ji...@apache.org> on 2019/02/17 17:11:00 UTC
[jira] [Updated] (CXF-7971) wsdl2java does't work on Java 11
[ https://issues.apache.org/jira/browse/CXF-7971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
kongyeku updated CXF-7971:
--------------------------
Labels: wsdl2java (was: )
> wsdl2java does't work on Java 11
> --------------------------------
>
> Key: CXF-7971
> URL: https://issues.apache.org/jira/browse/CXF-7971
> Project: CXF
> Issue Type: Bug
> Components: JAX-WS Runtime
> Affects Versions: 3.3.0
> Reporter: kongyeku
> Priority: Major
> Labels: wsdl2java
>
> when I use CXF 3.3 and Java 11 to development Web Service,
> because Java 11 have removed jaxws, I have to add many JAR(including javax.jws-api-1.1.jar、jaxws-api-2.3.1.jar、jaxb-api-2.3.1.jar、jaxb-core-2.3.0.1.jar、jaxb-impl-2.3.2.jar、javax.xml.soap-api-1.4.0.jar、javax.annotation-api-1.3.2.jar ...)。
> afterI published my Web Service succussfully, I want to use the wsdl2java tool, the tool show error as below:
> -Djava.endorsed.dirs=E:\Java\Web_Service\CXF\apache-cxf-3.3.0\bin\..\lib\endorsed is not supported. Endorsed standards and standalone APIs
> in modular form will be supported via the concept of upgradeable modules.
> Error: Could not create the Java Virtual Machine.
> Error: A fatal exception has occurred. Program will exit.
>
> If I change the JAVA_HOME to Java 8, wsdl2java will work well, so I want to know if CXF 3.3 can work on Java 11? how can I resolve this probleam
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)