Tomcat Classpath problem

Giganews Newsgroups
Subject: Tomcat Classpath problem
Posted by:  pcma100…@yahoo.com (Paul)
Date: 23 Jul 2003

hi , i have started with "beginning JSP web development" and got stuck
on extending classes. I'm getting the following error message:

    TechnicalBook.java:3: cannot resolve symbol
    symbol  : class Book
    location: class com.wrox.library.TechnicalBook
    public class TechnicalBook extends Book {
                                      ^
    1 error

i followed the instruction on the book on how to install java &
tomcat.
I also followed the instruction on how to set the environmental
variable
including the CLASSPATH. I'm using windows 2000 NT. I currently have
the
classpath set as (under system variable):

        CLASSPATH c:\jakarta-tomcat-4.0\common\lib\servlet.jar;.

I have the files: Book.java, Book.class, TechnicalBook.java &
ChildrenBook.java
under the following directory:

  c:\jakarta-tomcat-4.0\webapps\begjsp-ch07\WEB-INF\classes\com\wrox\library

I'm trying to compile TechicalBook and ChildrenBook and in the code it
extends Book. I was able to compile Book.java successfully. Any help
will be appreciated. Thanks.

Paul
amcp20…@yahoo.com

Replies