Did you by any chance import the class in the first place ? Like import javax.servlet.ServletException ;
Billy Aplin wrote:
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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
