Hi Axis2 users. I've been developing with Axis2 for a while. I've been creating services with WSDL2Java for some WSDLs given to me some time ago and I had no problems at all. Right now I'm using again WSDL2Java with a self made WSDL which Eclipse validates but this time I can't get a compilation and I get an error like this:
Exception in thread main: java.lang.NoSuchMethodError: javax.xml.stream.XMLOutputFactory.newInstance(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/xml/stream/XMLOutputFactory; at org.apache.axiom.om.util.StAXUtils.getXMLOutputFactory(StAXUtils.java:97) at org.apache.axiom.om.util.StAXUtils.createXMLStreamWriter(StAXUtils.java:111) at org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImpl.java:381) at org.apache.axis2.description.AxisService.getWSDL(AxisService.java:732) etc... Any ideas? Thanks in advance. Robert.
