You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Jana Poornavel <jp...@orangescape.com> on 2006/07/02 12:48:02 UTC

Re: Issues deploying axis 2.0

hi,
     the ant.jar is not added part of web-app 's lib directory
regards
jana
Srikanth wrote:
>
> well, thats what I am trying to use and I get this exception when I 
> try to look up the resource in a browser.
>
> Thanks.
>
> On 6/23/06, *Anne Thomas Manes* <atmanes@gmail.com 
> <ma...@gmail.com>> wrote:
>
>     If you want to implement a RESTful service, I recommend you use
>     Axis2 rather than Axis.
>
>
>     On 6/23/06, * Srikanth* <sri.krithi@gmail.com
>     <ma...@gmail.com>> wrote:
>
>
>
>         Hi,
>
>
>            I am trying to create a RESTful webservice using Java and
>         hence looking at Axis to use that as a platform. I just
>         downlaoded the axis.war file and when I deployed it in my
>         servlet container (tomcat 5.0.30) and tried to access the
>         service (http://localhost:8080/axis2), I encounter the
>         following exception:
>
>         *type* Exception report
>
>         *message*
>
>         *description* _The server encountered an internal error ()
>         that prevented it from fulfilling this request._
>
>         *exception*
>
>         javax.servlet.ServletException: org/apache/tools/ant/BuildException
>         	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:244)
>         	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>               
>
>         *root cause*
>
>         java.lang.NoClassDefFoundError: org/apache/tools/ant/BuildException
>         	org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:197)
>         	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java
>
>
>         :508)
>         	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
>         	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
>         	org.apache.jasper.servlet.JspServlet.service
>         (JspServlet.java
>
>         :236)
>         	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>               
>
>         *note* _The full stack trace of the root cause is available in
>         the Apache Tomcat/5.0.30 logs._
>
>
>         Could someone help me out as to what is wrong with my
>         installation ???.
>
>         Thanks,
>         Srikanth K.
>
>         __
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org