aspose file tools*
The moose likes Tomcat and the fly likes classpath problems! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "classpath problems!" Watch "classpath problems!" New topic
Author

classpath problems!

Mike Ottinger
Ranch Hand

Joined: Jan 11, 2002
Posts: 125
Sorry guys I'm not quite out od the woods just yet. I'm having difficulties compiling a HelloWorld servlet. I have the following directories for tomcat and jdk as follows:
tomcat:
C:\tomcat
jdk:
C:\jdk1.3.1_02
And I have a classpath variable set to:
.;C:\mike;C:\tomcat\common\lib\servlet.jar%CLASSPATH%
And a path variable set to:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;
.;C:\jdk1.3.1_02\bin;C:\tomcat\common\lib\servlet.jar%Path%
When I compile it says it can't resolve symbol for anything servlet or fttp related. I've copied the serlvet.jar into my jdk. I've tried all sorts of combinations of things all resulting in the same error. I've tried a simple Test.java program that works fine. Any ideas? Thanks for the help.


SCJP 1.4 SCJD 1.5
Mike Ottinger
Ranch Hand

Joined: Jan 11, 2002
Posts: 125
Nevermind guys I figured it out, everything works perfectly now, thanks for all the help!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: classpath problems!