The following line indicates that the XMLInputFactory class is not
from the org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1
artifact (Geronimo's version has fewer than 158 lines):

       at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:158)

Try to figure out where this class is loaded from.

Andreas

On Fri, Jan 15, 2010 at 19:12, jcaristi <jcari...@whisolutions.com> wrote:
>
>
> iksrazal wrote:
>>
>>
>> Do you have a "Caused by" section in your stacktrace? Anyways, one
>> thing to check is to make sure you have the right stax-api and
>> wstx-asl jars in your classpath.
>>
>> - R
>>
>>
>
> There is no "caused by" section.
>
> Also, it looks like these jars are dependencies of only the axis2-spring
> jar.  A search of the Maven dependency:tree for "stax" and "wstx" lists only
> one for each, both under axis2-spring.  I checked the WEB-INF lib folder of
> the generated WAR, and there are no other stax or wstx jars there.  Here is
> the axis2-spring section of the dependency tree:
>
> [INFO] +- org.apache.axis2:axis2-spring:jar:1.5.1:compile
> [INFO] |  +- org.apache.ws.commons.axiom:axiom-api:jar:1.2.8:compile
> [INFO] |  |  +-
> org.apache.geronimo.specs:geronimo-activation_1.1_spec:jar:1.0.1:compile
> [INFO] |  |  +-
> org.apache.geronimo.specs:geronimo-javamail_1.4_spec:jar:1.2:compile
> [INFO] |  |  \- jaxen:jaxen:jar:1.1.1:compile
> [INFO] |  +- org.apache.ws.commons.axiom:axiom-impl:jar:1.2.8:compile
> [INFO] |  +- org.apache.ws.commons.axiom:axiom-dom:jar:1.2.8:compile
> [INFO] |  +- xalan:xalan:jar:2.7.0:compile
> [INFO] |  +- org.codehaus.woodstox:wstx-asl:jar:3.2.4:compile
> [INFO] |  +-
> org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1:compile
> [INFO] |  +- commons-io:commons-io:jar:1.4:compile
> [INFO] |  \- org.apache.axis2:axis2-kernel:jar:1.5.1:compile
> [INFO] |     +-
> org.apache.geronimo.specs:geronimo-ws-metadata_2.0_spec:jar:1.1.2:compile
> [INFO] |     +-
> org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.1:compile
> [INFO] |     +- javax.servlet:servlet-api:jar:2.3:compile
> [INFO] |     +- commons-fileupload:commons-fileupload:jar:1.2:compile
> [INFO] |     +- wsdl4j:wsdl4j:jar:1.6.2:compile
> [INFO] |     +- org.apache.ws.commons.schema:XmlSchema:jar:1.4.3:compile
> [INFO] |     +- org.apache.woden:woden-api:jar:1.0M8:compile
> [INFO] |     |  \- xerces:xmlParserAPIs:jar:2.6.0:compile
> [INFO] |     \- org.apache.woden:woden-impl-dom:jar:1.0M8:compile
>
>
>
> --
> View this message in context: 
> http://old.nabble.com/Axis2-1.5.1-Upgrade-Problem-with-Spring-and-Jetty-7-tp27180100p27181273.html
> Sent from the Axis - User mailing list archive at Nabble.com.
>
>

Reply via email to