you need to add the servlet.jar as an argument when you compile your servlets and/or classes..
javac -classpath .;c:\tc\common\lib\servlet.jar someclassfile.java -----Original Message----- From: David Mitchell [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 6:25 PM To: [EMAIL PROTECTED] Subject: Help With Servlet.jar Hey Everyone, I recently blew away my development environment and had to reinstall Tomcat. Now when I try to compile classes that we're previously working I get "cannot resolve symbol" errors anywhere I reference javax.serlvet.* or javax.servlet.jsp.*; I have servlet.jar in the lib directory in my jdk directly on the server which is in my classpath, as well as the /common/lib directory in Tomcat. What's going on? I've never had this trouble with Tomcat before. Is there a better JSP/servlet container that I should be using? Tomcat seems ridiculously, annoyingly complex. Thanks, Dave =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant archives, FAQs and Forums on JSPs can be found at: http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant archives, FAQs and Forums on JSPs can be found at: http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com