FYI

-----Original Message-----
From: Brian Moynihan
Sent: 26 February 2002 11:04
To: 'Catalin'
Subject: RE: URGENT! PLEASE.. COMPILING ERROR


Catalin,

Look at your classpath variable, make sure that servlet.jar is included and
that it exists on the path specified. If it doesn't exist you'll have to
include it in your classpath variable. That should take care of the
compilation error.

Regards,
Brian.

-----Original Message-----
From: Catalin [mailto:[EMAIL PROTECTED]]
Sent: 26 February 2002 20:49
To: [EMAIL PROTECTED]
Subject: URGENT! PLEASE.. COMPILING ERROR


Hello everyone!


I have installed Apache_Tomcat_4.0 (on a win2k OS and jdk1.3.1 support). I
have a web
application with servlets. I can't compile any more servlets (I
usually compile with an IDE). The main errors are:

C:\Apache_Tomcat_4.0\webapps\ROOT\WEB-INF\classes\myServlet.java:4: package
javax.servlet does not exist
import javax.servlet.*;
^
C:\Apache_Tomcat_4.0\webapps\ROOT\WEB-INF\classes\myServlet.java:5: package
javax.servlet.http does not exist
import javax.servlet.http.*;
^

line 4 and 5 of my servlet are:

import javax.servlet.*;
import javax.servlet.http.*;

The strange thing is that the "javax" package (and all the classes)
are in the same directory with myServlet.java and I can compile
other java applications that servlets.
I don't see how this is happening.!!!
I compiled in text mode (javac myServlet.java) the same errors. I
uninstalled the jdk1.3.1 and I'have installed again, I verified the
system variables and they are correct. The erors persists.
A few days ago this error wasn't on compiling the very same servlet.
 I have another PC with exactly the same settings like my machine and
 all is OK on that PC
What happened? Please can anyone help me?

Thanks for any tip!

Catalin

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html


**********************************************************************
Privileged, confidential and/or copyright information may be contained
in this e-mail. This e-mail is for the use only of the intended
addressee. If you are not the intended addressee, or the person
responsible for delivering it to the intended addressee, you may not
copy, forward, disclose or otherwise use it or any part of it in any
way whatsoever. To do so is prohibited and may be unlawful.

If you receive this e-mail by mistake please advise the sender
immediately by using the reply facility in your e-mail software.

Orygen (Ireland) Limited may monitor the content of e-mails sent and
received via its network for the purposes of ensuring compliance with
its policies and procedures.

This message is subject to and does not create or vary any contractual
relationship between Orygen (Ireland) Limited and you.
**********************************************************************

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to