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

David J. M. Karlsen resolved CXF-7690.
--------------------------------------
    Resolution: Duplicate

I see now that this is a duplicate of CXF-7683

> codegen not java10 compat
> -------------------------
>
>                 Key: CXF-7690
>                 URL: https://issues.apache.org/jira/browse/CXF-7690
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 3.2.4
>            Reporter: David J. M. Karlsen
>            Priority: Major
>
> Generating code on JDK10 will fail with:
> {noformat}
> Caused by: java.lang.ClassNotFoundException: javax.xml.ws.Service
>     at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass 
> (SelfFirstStrategy.java:50)
>     at 
> org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass 
> (ClassRealm.java:271)
>     at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass 
> (ClassRealm.java:247)
>     at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass 
> (ClassRealm.java:239)
>     at org.apache.cxf.tools.wsdlto.frontend.jaxws.JAXWSContainer.isJaxws22 
> (JAXWSContainer.java:64)
>     at 
> org.apache.cxf.tools.wsdlto.frontend.jaxws.JAXWSContainer.getServiceTarget 
> (JAXWSContainer.java:61)
>     at org.apache.cxf.tools.wsdlto.frontend.jaxws.JAXWSContainer.validate 
> (JAXWSContainer.java:68)
>     at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.processWsdl 
> (WSDLToJavaContainer.java:172)
>     at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute 
> (WSDLToJavaContainer.java:164)
>     at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute 
> (WSDLToJavaContainer.java:412)
>     at org.apache.cxf.tools.common.toolspec.ToolRunner.runTool 
> (ToolRunner.java:105)
>     at org.apache.cxf.tools.wsdlto.WSDLToJava.run (WSDLToJava.java:113)
>     at org.apache.cxf.tools.wsdlto.WSDLToJava.run (WSDLToJava.java:86)
>     at org.apache.cxf.maven_plugin.wsdl2java.WSDL2JavaMojo.generate 
> (WSDL2JavaMojo.java:414)
>     at org.apache.cxf.maven_plugin.AbstractCodegenMoho.execute 
> (AbstractCodegenMoho.java:279)
>     at org.apache.cxf.maven_plugin.wsdl2java.WSDL2JavaMojo.execute 
> (WSDL2JavaMojo.java:511)
>     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo 
> (DefaultBuildPluginManager.java:137)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:208)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:154)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:146)
>     at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
> (LifecycleModuleBuilder.java:117)
>     at 
> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call
>  (MultiThreadedBuilder.java:200)
>     at 
> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call
>  (MultiThreadedBuilder.java:196)
>     at java.util.concurrent.FutureTask.run (FutureTask.java:264)
>     at java.util.concurrent.Executors$RunnableAdapter.call 
> (Executors.java:514)
>     at java.util.concurrent.FutureTask.run (FutureTask.java:264)
>     at java.util.concurrent.ThreadPoolExecutor.runWorker 
> (ThreadPoolExecutor.java:1135)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.run 
> (ThreadPoolExecutor.java:635)
>     at java.lang.Thread.run (Thread.java:844)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to