You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Aj...@iflexsolutions.com on 2008/02/08 08:23:59 UTC

XMLStreamException clsss not found

Hi Group,

 

I am getting java.lang.NoClassDefFoundError:
javax/xml/stream/XMLStreamException exception when trying to embed axis2
into a web application.

 

Any pointers to resolve this would be helpful.

 

Thanks,

Ajit



DISCLAIMER:
This message contains privileged and confidential information and is intended only for an individual named. If you are not the intended recipient, you should not disseminate, distribute, store, print, copy or deliver this message. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete or contain viruses. The sender, therefore,  does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required, please request a hard-copy version.

Enumeration with "Factory" value causes compilation failure

Posted by David Meiklejohn <dm...@iseek.com.au>.
Hi,

I have a simple type enumeration with a list of sub address types. The problem I am encountering is that when I put "Factory" in as a value it causes the code for the generated stub to fail at compilation. Is this a known bug? Is there a workaround that would allow me to generate an enumeration that has Factory as a valid value? This is the definition from my xsd:

    <xsd:simpleType name="SubAddressType">
        <xsd:restriction base="xsd:string">
            <xsd:enumeration value="Apartment" />
            <xsd:enumeration value="Flat" />
            <xsd:enumeration value="Floor" />
            <xsd:enumeration value="Ground" />
            <xsd:enumeration value="House" />
            <xsd:enumeration value="Level" />
            <xsd:enumeration value="Lot" />
            <xsd:enumeration value="Pier" />
            <xsd:enumeration value="Room" />
            <xsd:enumeration value="Shop" />
            <xsd:enumeration value="Site" />
            <xsd:enumeration value="SQ" />
            <xsd:enumeration value="Studio" />
            <xsd:enumeration value="Suite" />
            <xsd:enumeration value="Tenocy" />
            <xsd:enumeration value="Unit" />
        </xsd:restriction>
    </xsd:simpleType>

Regards,

David Meiklejohn