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
com.intellij.ws.utils.InvokeExternalCodeUtil$ExternalCodeException: WSDLToJava Error: java.lang.reflect.UndeclaredThrowableException
        at com.intellij.ws.utils.InvokeExternalCodeUtil.doFilter(InvokeExternalCodeUtil.java:816)
        at com.intellij.ws.utils.InvokeExternalCodeUtil.access$200(InvokeExternalCodeUtil.java:87)
        at com.intellij.ws.utils.InvokeExternalCodeUtil$7$1.run(InvokeExternalCodeUtil.java:674)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:708)
        at java.awt.EventQueue.access$400(EventQueue.java:82)
        at java.awt.EventQueue$2.run(EventQueue.java:669)
        at java.awt.EventQueue$2.run(EventQueue.java:667)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:678)
        at com.intellij.ide.IdeEventQueue.d(IdeEventQueue.java:673)
        at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:498)
        at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:333)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

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

2 comments

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

0

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. :(

0

Please sign in to leave a comment.