Yes, I think so. Same problem.
2007/12/10, Paul Fremantle <[EMAIL PROTECTED]>: > > Looks like a classpath problem. Have you got wstx-asl-3.2.1.jar in the > classpath? > > Paul > > On Dec 10, 2007 4:54 PM, Thorsten Deelmann < [EMAIL PROTECTED]> > wrote: > > > Hello, > > > > I've got the following problem: > > > > I just want to instatiate org.apache.axis2.client.ServiceClient. I > > think, it has to work like this: SecurityClient sender = new > > SecurityClient(); > > > > But when processing, i get a java.lang.InstantiationException: > > > > Exception in thread "main" javax.xml.stream.FactoryConfigurationError: > > Provider javax.xml.stream.XMLInputFactory could not be instantiated: > > java.lang.InstantiationException > > at javax.xml.stream.XMLInputFactory.newInstance(Unknown Source) > > at org.apache.axiom.om.util.StAXUtils.getXMLInputFactory( > > StAXUtils.java:40) > > at org.apache.axiom.om.util.StAXUtils.createXMLStreamReader ( > > StAXUtils.java:66) > > at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:564) > > at org.apache.axis2.deployment.DescriptionBuilder.buildOM( > > DescriptionBuilder.java:96) > > at org.apache.axis2.deployment.AxisConfigBuilder.populateConfig ( > > AxisConfigBuilder.java:79) > > at > > org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration( > > DeploymentEngine.java:615) > > at > > org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration( > > FileSystemConfigurator.java :115) > > at > > org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext > > (ConfigurationContextFactory.java:64) > > at > > org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem( > > ConfigurationContextFactory.java:180) > > at org.apache.axis2.client.ServiceClient.configureServiceClient( > > ServiceClient.java:146) > > at org.apache.axis2.client.ServiceClient.<init>(ServiceClient.java > > :139) > > at org.apache.axis2.client.ServiceClient.<init>(ServiceClient.java > > :228) > > > > Anyone an idea? > > > > Greetz, > > > > -- > > Thorsten > > > > > > > > > -- > Paul Fremantle > Co-Founder and VP of Technical Sales, WSO2 > OASIS WS-RX TC Co-chair > > blog: http://pzf.fremantle.org > [EMAIL PROTECTED] > > "Oxygenating the Web Service Platform", www.wso2.com -- Thorsten Deelmann Weseler Straße 41 48151 Münster Email: [EMAIL PROTECTED] Tel.: 0176/20175703