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

Freeman Fang resolved CXF-7971.
-------------------------------
    Resolution: Fixed

> bin/scripts does't work on Java 11
> ----------------------------------
>
>                 Key: CXF-7971
>                 URL: https://issues.apache.org/jira/browse/CXF-7971
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 3.3.0
>            Reporter: kongyeku
>            Assignee: Freeman Fang
>            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)

Reply via email to