File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Products » Tomcat
Bookmark "classpath problems!" Watch "classpath problems!" New topic

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:
And I have a classpath variable set to:
And a path variable set to:
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 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:
subject: classpath problems!
It's not a secret anymore!