473,503 Members | 1,692 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.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
2 4526

"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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2741
by: - e - | last post by:
Hi everybody! I download and installed Tomcat 4.1.3 on HP-UX 11.11, I think everything was OK on the installation process. Tomcat is working, first page (http://my-ip-address:8080/index.jsp) is...
3
15386
by: Andrew Johnson | last post by:
Hi, I am trying to make a UBD DB2 7.2 connection using the Java COM.ibm.db2.jdbc.app.DB2Driver via Tomcat 3.2.1 on Solaris (and also on an AIX system with 3.3.1). I am attempting this either...
1
1920
by: sebtiber | last post by:
Hi, I try to connect to db2 with tomcat4.0.6 on linux redhat9.0. with driver db2java.jar I have always the same error "no suitable driver". i try different actions that have read on the forum...
12
12554
by: brew82 | last post by:
I am trying to get connection pooling working with Tomcat 5.5 and DB2 v8.1. This was working under Websphere Studio Application Developer 5.x but we are trying to move onto Eclipse and Tomcat. ...
1
2918
by: ashok2006 | last post by:
Hi everybody, Here is my problem:- When I start tomcat the command prompt for tomcat openes but closes within seconds. I've following environment varibles set:- CATALINA_HOME ...
4
12701
by: maxt | last post by:
I am using Windows XP, Tomcat 5.5.17, JRE 1.5.0_08. I am in Australia. For testing localization, my Windows Region is set to English, US. The Tomcat xml's are set to their install defaults. ...
1
4359
by: kommaraju | last post by:
iam a starter to db2 & jdbc.i have a servlet program which connects to ibm db2 using jdbc.when i run this using apache tomcat 4.1.34 , it is showing a error message of HTTP STATUS 500 my jdbc...
0
1065
by: ganeshrajah85 | last post by:
I have installed tomcat 5.5 and set classpath and PATH but tomcat is not starting up. Can you please tell me what could be the problem.
2
1448
by: Rekha Ramkumar | last post by:
I hv created one simple jsp page in root folder under C:\Tomcat 5.0\webapps\ROOT as follows ..... <html> <body> Hello World. </body> </html> I hAVE SET THE classpATHbut whenever i am trying...
0
7199
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7273
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7322
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
5572
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3161
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3150
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1501
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
731
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
374
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.