[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.webtools] Re: Problems with WTP Tutorial - Creating Bottom Up Web Service

This error suggests that the stax-api jar is missing. It should be part of the Axis2 runtime specified in your Axis2 Preferences and it should have been copied to the WEB-INF/lib of your project when it was created in the tutorial.

Cheers,
Larry

Reinhold Bentele wrote:
Hi all,

I followed exactly the instructions of the tutorial "Creating Bottom Up Web Service via Apache Axis2". Everything worked fine until I tried to deploy the web service to Tomcat. The error on the tomcat console says:

java.lang.NoClassDefFoundError: javax/xml/stream/XMLStreamException
at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:511)


at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:431)
at org.apache.axis2.transport.http.AxisAdminServlet.init(AxisAdminServlet.java:55)


at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)

at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4045)


at org.apache.catalina.core.StandardContext.start(StandardContext.java:4351)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)



Also in Eclipse the import of javax.xml.stream.XMLOutputFactory and javax.xml.stream.XMLStreamException in HappyAxis.jsp can't be resolved.
I'm working with Eclipse 3.3.2, the latest WTP, Tomcat 6.0.14 and Axis2 1.4. Can anyone help me?


Bye - Reinhold.