Tomcat Classpath problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Paul

    Tomcat Classpath problem

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

    TechnicalBook.j ava:3: cannot resolve symbol
    symbol : class Book
    location: class com.wrox.librar y.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.j ava &
    ChildrenBook.ja va
    under the following directory:

    c:\jakarta-tomcat-4.0\webapps\beg jsp-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
    amcp2002@yahoo. com
  • Janwillem Borleffs

    #2
    Re: Tomcat Classpath problem


    "Paul" <pcma10019@yaho o.com> schreef in bericht
    news:78cbf985.0 307230923.4d380 06b@posting.goo gle.com...[color=blue]
    > hi , i have started with "beginning JSP web development" and got stuck
    > on extending classes. I'm getting the following error message:
    >[/color]

    Java != JavaScript, try comp.lang.java instead.


    JW



    Comment

    • kaeli

      #3
      Re: Tomcat Classpath problem

      In article <78cbf985.03072 30923.4d38006b@ posting.google. com>, pcma10019
      @yahoo.com enlightened us with...[color=blue]
      > hi , i have started with "beginning JSP web development" and got stuck
      > on extending classes. I'm getting the following error message:
      >[/color]

      Javascript is not Java.
      Try comp.lang.java. help.

      --
      -------------------------------------------------
      ~kaeli~
      Black holes were created when God divided by 0.
      Not one shred of evidence supports the notion
      that life is serious.


      -------------------------------------------------

      Comment

      Working...