CXF Wsdl2Java is failed

IntelliJ 12.0.4, MacOSx 10.6.8, JDK 1.6.0, CXF 3.2.7

All attempts to generate java code from WDSL by using CXF 3.2.7 are failed with the same error:
WSDLToJava Error: java.lang.reflect.UndeclaredThrowableException

Here is the exception from IntelliJ log file:
2013-02-15 16:31:29,181 [1315422]   INFO - vicesplugin.invokeexternalcode - WSDLToJava Error: java.lang.reflect.UndeclaredThrowableException$ExternalCodeException: WSDLToJava Error: java.lang.reflect.UndeclaredThrowableException
        at java.awt.event.InvocationEvent.dispatch(
        at java.awt.EventQueue.dispatchEventImpl(
        at java.awt.EventQueue.access$400(
        at java.awt.EventQueue$
        at java.awt.EventQueue$
        at Method)
        at java.awt.EventQueue.dispatchEvent(
        at com.intellij.ide.IdeEventQueue.d(
        at com.intellij.ide.IdeEventQueue._dispatchEvent(
        at com.intellij.ide.IdeEventQueue.dispatchEvent(
        at java.awt.EventDispatchThread.pumpOneEventForFilters(
        at java.awt.EventDispatchThread.pumpEventsForFilter(
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(
        at java.awt.EventDispatchThread.pumpEvents(
        at java.awt.EventDispatchThread.pumpEvents(

Are there any ideas what's wrong with it? TIA

Comment actions Permalink

IDEA doesn't support cxf 3.2.7. the latest version we checked was cxf 2.7.0.

BTW You need to have web facet|web services facet|cxf choosen in module settings and need to set up path to cxf installation configured in File|Settings|Web Services

Comment actions Permalink

3.2.7... Oh, it's my misprint, sorry to confuse you. I'm using 2.7.3

Also I forgot about "web facet|web services facet|cxf" configuration. Thanks for the hint, Anna.

But unfortunatelly it didn't help me with cxf 2.7.3. Also I tried with cxf 2.7.0 version but it's failed with the same error. :(


Please sign in to leave a comment.