By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,706 Members | 2,046 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,706 IT Pros & Developers. It's quick & easy.

Tomcat Classpath problem

P: n/a
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
am******@yahoo.com
Jul 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a

"Paul" <pc*******@yahoo.com> schreef in bericht
news:78**************************@posting.google.c om...
hi , i have started with "beginning JSP web development" and got stuck
on extending classes. I'm getting the following error message:


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

Jul 20 '05 #2

P: n/a
In article <78**************************@posting.google.com >, pcma10019
@yahoo.com enlightened us with...
hi , i have started with "beginning JSP web development" and got stuck
on extending classes. I'm getting the following error message:


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.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace
-------------------------------------------------
Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.