Problems with WTP Tutorial - Creating Bottom Up Web Service [message #213823] |
Wed, 14 May 2008 09:43  |
Eclipse User |
|
|
|
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.initConfigContex t(AxisServlet.java:511)
at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet .java:431)
at
org.apache.axis2.transport.http.AxisAdminServlet.init(AxisAd minServlet.java:55)
at
org.apache.catalina.core.StandardWrapper.loadServlet(Standar dWrapper.java:1161)
at org.apache.catalina.core.StandardWrapper.load(StandardWrappe r.java:981)
at
org.apache.catalina.core.StandardContext.loadOnStartup(Stand ardContext.java:4045)
at
org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4351)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.jav a:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine .java:443)
at org.apache.catalina.core.StandardService.start(StandardServi ce.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:2 88)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:41 3)
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.
|
|
|
|
|
Re: Problems with WTP Tutorial - Creating Bottom Up Web Service [message #218164 is a reply to message #214740] |
Thu, 24 July 2008 11:45  |
Eclipse User |
|
|
|
Originally posted by: carla.bolognesi.gmail.com
I'm also working with Eclipse 3.3.2, the latest WTP, Tomcat 6.0.14, Axis2
1.4, Java 5 and I get the same error.
I did find the jar containing the missing class in the axis lib folder and
I copied it down into the project lib folder manually. This means all the
jsps compile correctly, but when I deploy I still get no joy.
Did either of you solve the problem?
also, do you know if the webtools can be used with tomcat 5 and java 1.4
thanks
Carla
|
|
|
Powered by
FUDForum. Page generated in 0.05753 seconds