JavaX Imports Can't Be Found, But Are Installed! (Windows XP + Tomcat 5)
February 9, 2004 6:09 AM   Subscribe

Java and Servlet help!! [more inside]

I'm having problems compiling my servlet. I'm getting the error that the javax imports cannot be found. Now, I've downloaded the 2 packages and placed them where I thought they should be but I'm still receiving the errors. Could there someone who is a lot smarter than me tell me what I'm suppose to do? I'm running WinXP and also using Tomcat 5 server (if that helps at all).
posted by Stynxno to Computers & Internet (1 answer total)
 
You should make sure that the Tomcat servlet.jar is in your classpath.

Assume that you have tomcat location like:
c:\tomcat

at the command promt type:
set classpath=c:\tomcat\lib\servlet.jar

Or put this information in your environment variables in XP.
posted by sebas at 6:38 AM on February 9, 2004


« Older Is there a term for small, decorative Flash photo...   |   How can I create graphical text with ColdFusion? Newer »
This thread is closed to new comments.