Error Generating WSDL from Java Code using CXF

I have IntelliJ configured to use Apache CXF 3.0.4 and I created a web service with JAX-WS annotations.  When I try invoke Web Services -> Generate WSDL from Java Code, I get the following error: Could not find or load main class org.apache.cxf.tools.java2wsdl.JavaToWSDL.  When I delved further, I noticed on the Apache CXF Java-to-WSDL page (http://cxf.apache.org/docs/java-to-wsdl.html), the following: "Note: java2wsdl is available only for the current production 2.0.x series of CXF. For the upcoming 2.1 versions, please use java2ws instead."  Since this is version 3.0.4, does that mean this functionality is no longer supported?  Is there a workaround in IntelliJ?  Will this functionality be updated to use the java2ws in the newer Apache CXF versions?

2 comments
Comment actions Permalink

There is a bug logged at https://youtrack.jetbrains.com/issue/IDEA-138679 , feel free to vote.

You can get older library version and add its jar to the module dependencies (http://www.jetbrains.com/idea/webhelp/configuring-module-dependencies-and-libraries.html).

0
Comment actions Permalink

How did you get Intellij configured to use CXF 3.0.4? Does it not still only support 2.7.x?

0

Please sign in to leave a comment.