You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Michael Berkowitz (JIRA)" <ji...@apache.org> on 2008/03/19 11:14:25 UTC

[jira] Created: (CXF-1479) When client gets fault response, it throws "java.lang.NoClassDefFoundError: Could not initialize class com.sun.xml.internal.ws.fault.SOAPFaultBuilder"

When client gets fault response, it throws "java.lang.NoClassDefFoundError: Could not initialize class com.sun.xml.internal.ws.fault.SOAPFaultBuilder"
------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: CXF-1479
                 URL: https://issues.apache.org/jira/browse/CXF-1479
             Project: CXF
          Issue Type: Bug
    Affects Versions: 2.0.4
         Environment: Client is Java 1.6 console application, Services are running under Tomcat/Java 1.6
            Reporter: Michael Berkowitz


The summary pretty-much says it.  What I would expect is to get an exception from the invoke() that contains whatever information is in the fault message.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-1479) When client gets fault response, it throws "java.lang.NoClassDefFoundError: Could not initialize class com.sun.xml.internal.ws.fault.SOAPFaultBuilder"

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-1479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12590982#action_12590982 ] 

Daniel Kulp commented on CXF-1479:
----------------------------------


This is probably a java6 issue.   Can you try removing the saaj-*.jars from your cxf distribution and seeing if that works?   Alternatively, try putting them into the jre/lib/endorsed dir.

With java6, saaj is built into the JDK.  Thus, there may be some sort of conflict between the version built in and the stuff we put on the classpath.



> When client gets fault response, it throws "java.lang.NoClassDefFoundError: Could not initialize class com.sun.xml.internal.ws.fault.SOAPFaultBuilder"
> ------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-1479
>                 URL: https://issues.apache.org/jira/browse/CXF-1479
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.0.4
>         Environment: Client is Java 1.6 console application, Services are running under Tomcat/Java 1.6
>            Reporter: Michael Berkowitz
>
> The summary pretty-much says it.  What I would expect is to get an exception from the invoke() that contains whatever information is in the fault message.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.