Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Problem Compiling JSP Servlet

Billy Aplin

2003-10-02

Replies:

Greetings,

I am new to JSP development and I am trying to compile a simple servlet from
the "More Servlets and JavaServer Pages". I am getting the error "cannot
resolve symbol" (see below), which is supposed to mean that I do not have
my classpath setting correct, but I am fairly certain that the CLASSPATH
settings are correct:

CLASSPATH
.; c:\JavaDev; c:\Tomcat\common\lib\servlet.jar

As you can see, the CLASSPATH system variable is pointing to the servlet.jar
file as well as my working directory, and the directories are correct.

I have searched the email archives and I don't see anything that explains
this problem. Any help would be appreciated.

Thanks

Billy

---- ERROR ---
HelloServlet.java:16: cannot resolve symbol
symbol : class ServletException
location: class HelloServlet
   throws ServletException, IOException {
        ^

_________________________________________________________________
Frustrated with dial-up? Get high-speed for as low as $29.95/month
(depending on the local service providers in your area).
https://broadband.msn.com


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.