You also need a "servlet.jar" in your classpath as well.




"PODELNYK,TED (HP-Boise,ex1)" <[EMAIL PROTECTED]>

11/22/2002 11:10 AM
Please respond to axis-user

       
        To:        "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
        cc:        
        Subject:        Trouble getting started with Axis




I am starting to learn about Axis and have downloaded it from the web site.
I am working my way through the "Installing and deploying web applications
using xml-axis" document.  I have made it to the point of testing a JWS
endpoint.   When I access the
http://localhost:8080/axis/EchoHeaders.jws?method=list  URL, what I get is
the following Axis Fault:
============================================================================
==============
AXIS error
Sorry, something seems to have gone wrong... here are the details:

Fault - Error while compiling:
C:\jakarta-tomcat-3.3a\webapps\axis\WEB-INF\jwsClasses\EchoHeaders.java
AxisFault
faultCode: {http://xml.apache.org/axis/}Server.compileError
faultString: Error while compiling:
C:\jakarta-tomcat-3.3a\webapps\axis\WEB-INF\jwsClasses\EchoHeaders.java
faultActor: null
faultDetail:
                Errors: Error compiling
C:\jakarta-tomcat-3.3a\webapps\axis\WEB-INF\jwsClasses\EchoHeaders.java:
Line 58, column 7:  Class javax.servlet.http.HttpServletRequest not found in
import.
Line 0, column 0:
1 error
============================================================================
===============

I am running jakarta-tomcat-3.3a.  I have read that the jaxrpc.jar and
saaj.jar files should be under the %TOMCAT_HOME%/common/lib directory.
Therefore, I created this directory under %TOMCAT_HOME% and copied the .jar
files there from %TOMCAT_HOME%/webapps/axis/WEB_INF/lib.  However, I still
get the same error.  Can anyone tell me what I am doing wrong?


Ted Podelnyk
[EMAIL PROTECTED]


Reply via email to