Hello. When I try to run PingClient from Eclipse 3.1, I get the FactoryConfigurationError. My code builds without errors with maven2. My classpath has almost all the jar files that exist in Aixs2 war's WEB-INF/lib directory (except wstx-asl-2.9.3, jibx-run1.1-beta-8 and axis2-soapmonitor, that my pom.xml can not pull from anywhere). Note however that when I manually add all the jar files from axis2 war/WEB-INF/lib to the classpath, there are no errors, and everything runs great.
I noticed that there is a similar issue (#AXIS2-668) at http://issues.apache.org/jira/browse/AXIS2-668. Can anybody shed some light? Thanks much :-) Bhaskar Detailed error: --------------------- javax.xml.stream.FactoryConfigurationError: Provider com.bea.xml.stream.MXParserFactory not found at javax.xml.stream.FactoryFinder.newInstance(FactoryFinder.java:72) at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:176) at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:92) at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136) at org.apache.axiom.om.util.StAXUtils.getXMLInputFactory(StAXUtils.java:35) at org.apache.axiom.om.util.StAXUtils.createXMLStreamReader(StAXUtils.java:59) at org.apache.axis2.deployment.DescriptionBuilder.buildOM(DescriptionBuilder.java:81) at org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:63) at org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:769) at org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:113) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:38) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:90) at org.apache.axis2.client.ServiceClient.initializeTransports(ServiceClient.java:185) at org.apache.axis2.client.ServiceClient.<init>(ServiceClient.java:83) at org.apache.axis2.client.ServiceClient.<init>(ServiceClient.java:197) at com.copart.ws.client.ping.PingClient.main(PingClient.java:25) Exception in thread "main" ---------------------- classpath: ------------- <classpath> <classpathentry kind="src" path="src/main/java"/> <classpathentry kind="src" path="src/test/java" output="target/test-classes"/> <classpathentry kind="output" path="target/classes"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry kind="var" path="M2_REPO/junit/junit/3.8.1/junit-3.8.1.jar"/> <classpathentry kind="var" path="M2_REPO/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar"/> <classpathentry kind="var" path="M2_REPO/commons-httpclient/commons-httpclient/3.0/commons-httpclient-3.0.jar"/> <classpathentry kind="var" path="M2_REPO/backport-util-concurrent/backport-util-concurrent/2.1/backport-util-concurrent-2.1.jar"/> <classpathentry kind="var" path="M2_REPO/annogen/annogen/0.1.0/annogen-0.1.0.jar"/> <classpathentry kind="var" path="M2_REPO/log4j/log4j/1.2.13/log4j-1.2.13.jar"/> <classpathentry kind="var" path="M2_REPO/axis2/axis2-kernel/1.0/axis2-kernel-1.0.jar"/> <classpathentry kind="var" path="M2_REPO/jaxen/jaxen/1.1-beta-8/jaxen-1.1-beta-8.jar"/> <classpathentry kind="var" path="M2_REPO/xalan/xalan/2.6.0/xalan-2.6.0.jar"/> <classpathentry kind="var" path="M2_REPO/xmlbeans/xbean/2.1.0/xbean-2.1.0.jar"/> <classpathentry kind="var" path="M2_REPO/ws-commons/neethi/1.0.1/neethi-1.0.1.jar"/> <classpathentry kind="var" path="M2_REPO/jdom/jdom/1.0/jdom-1.0.jar"/> <classpathentry kind="var" path="M2_REPO/com/ibm/icu/icu4j/2.6.1/icu4j-2.6.1.jar"/> <classpathentry kind="var" path="M2_REPO/commons-fileupload/commons-fileupload/1.0/commons-fileupload-1.0.jar"/> <classpathentry kind="var" path="M2_REPO/axis2/axis2-adb/1.0/axis2-adb-1.0.jar"/> <classpathentry kind="var" path="M2_REPO/axis2/axis2-codegen/1.0/axis2-codegen-1.0.jar"/> <classpathentry kind="var" path="M2_REPO/xerces/xercesImpl/2.7.1/xercesImpl-2.7.1.jar"/> <classpathentry kind="var" path="M2_REPO/ws-commons/policy/1.0/policy-1.0.jar"/> <classpathentry kind="var" path="M2_REPO/ws-commons/axiom-impl/1.0/axiom-impl-1.0.jar"/> <classpathentry kind="var" path="M2_REPO/org/ccil/cowan/tagsoup/tagsoup/0.9.7/tagsoup-0.9.7.jar"/> <classpathentry kind="var" path="M2_REPO/commons-codec/commons-codec/1.3/commons-codec-1.3.jar"/> <classpathentry kind="var" path="M2_REPO/wsdl4j/wsdl4j/1.5.2/wsdl4j-1.5.2.jar"/> <classpathentry kind="var" path="M2_REPO/xml-apis/xml-apis/1.3.02/xml-apis-1.3.02.jar"/> <classpathentry kind="var" path="M2_REPO/axis2/axis2-xmlbeans/1.0/axis2-xmlbeans-1.0.jar"/> <classpathentry kind="var" path="M2_REPO/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar"/> <classpathentry kind="var" path="M2_REPO/ws-commons/axiom-dom/1.0/axiom-dom-1.0.jar"/> <classpathentry kind="var" path="M2_REPO/axis2/axis2-java2wsdl/1.0/axis2-java2wsdl-1.0.jar"/> <classpathentry kind="var" path="M2_REPO/stax/stax-api/1.0/stax-api-1.0.jar"/> <classpathentry kind="var" path="M2_REPO/axis2/axis2-jibx/1.0/axis2-jibx-1.0.jar"/> <classpathentry kind="var" path="M2_REPO/xom/xom/1.0b3/xom-1.0b3.jar"/> <classpathentry kind="var" path="M2_REPO/xerces/xmlParserAPIs/2.6.2/xmlParserAPIs-2.6.2.jar"/> <classpathentry kind="var" path="M2_REPO/ws-commons/tcpmon/1.0/tcpmon-1.0.jar"/> <classpathentry kind="var" path="M2_REPO/org/apache/ws/commons/XmlSchema/1.0.2/XmlSchema-1.0.2.jar"/> <classpathentry kind="var" path="M2_REPO/ws-commons/axiom-api/1.0/axiom-api-1.0.jar"/> </classpath> --------------------