Thanks for replies.  How can I "roll out" the class file.  I can see the
directory structure in the archive, but how do I make sure the reference in
the code is going to get the compiler to look in the right place?  (the
archive does not show capitalization)

I will try importing the html.* classes as well.

REgards
Lindsay

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of [EMAIL PROTECTED]
Sent: October 25, 2000 12:32 AM
To: ECS
Subject: Re: Having problems resolving symbols in ECS



I know you said the jarfile was in your ext directory but are you
sure?Those errors really look like it can't find the class files.  If it
is,  you might unroll the jarfile and make sure those classes exist in it.

-stephan




                    "L McCann"
                    <[EMAIL PROTECTED]>          To:
<[EMAIL PROTECTED]>
                    Sent by:                 cc:
                    <[EMAIL PROTECTED]        Subject:     Having problems
resolving symbols in ECS
                    -dogs.com>


                    10/24/2000 09:09
                    PM
                    Please respond to
                    "ECS"






I am trying to compile code in the WROX book, Pro. Java XML programming.
It
is frustrating.

the source is located in C:\jxml\JRun\jsm-default\classes\MyNa\utils

I have ecs1.3.3.jar in the C:\jdk1.3\jre\lib\ext\ directory.

I go to a command prompt and execute the following command:

C:\Jxml\JRun\jsm-default\classes> javac Myna/utils/*.java

which produces the following errors: (this is the exact output of javac)

----start of javac output----

C:\jxml\JRun\jsm-default\classes\MyNa\utils\HtmlWrapper.java:128: cannot
resolve symbol
symbol  : class Html
location: class MyNa.utils.HtmlWrapper
    Html thePage=new Html()
    ^
C:\jxml\JRun\jsm-default\classes\MyNa\utils\HtmlWrapper.java:132: cannot
resolve symbol
symbol  : class H1
location: class MyNa.utils.HtmlWrapper
                 .addElement(new H1(title))
                                 ^
C:\jxml\JRun\jsm-default\classes\MyNa\utils\HtmlWrapper.java:131: cannot
resolve symbol
symbol  : class Body
location: class MyNa.utils.HtmlWrapper
              .addElement(new Body()
                              ^
----end of javac output----

I go to a command prompt and execute the following command:

C:\Jxml\JRun\jsm-default\classes> javac Myna/utils/*.java

which produces the following errors: (this is the exact output of javac)

----start of javac output----

C:\jxml\JRun\jsm-default\classes\MyNa\utils\HtmlWrapper.java:128: cannot
resolve symbol
symbol  : class Html
location: class MyNa.utils.HtmlWrapper
    Html thePage=new Html()
    ^
C:\jxml\JRun\jsm-default\classes\MyNa\utils\HtmlWrapper.java:132: cannot
resolve symbol
symbol  : class H1
location: class MyNa.utils.HtmlWrapper
                 .addElement(new H1(title))
                                 ^
C:\jxml\JRun\jsm-default\classes\MyNa\utils\HtmlWrapper.java:131: cannot
resolve symbol
symbol  : class Body
location: class MyNa.utils.HtmlWrapper
              .addElement(new Body()
                              ^
----end of javac output----
I go to a command prompt and execute the following command:

C:\Jxml\JRun\jsm-default\classes> javac Myna/utils/*.java

which produces the following errors: (this is the exact output of javac)

----start of javac output----

C:\jxml\JRun\jsm-default\classes\MyNa\utils\HtmlWrapper.java:128: cannot
resolve symbol
symbol  : class Html
location: class MyNa.utils.HtmlWrapper
    Html thePage=new Html()
    ^
C:\jxml\JRun\jsm-default\classes\MyNa\utils\HtmlWrapper.java:132: cannot
resolve symbol
symbol  : class H1
location: class MyNa.utils.HtmlWrapper
                 .addElement(new H1(title))
                                 ^
C:\jxml\JRun\jsm-default\classes\MyNa\utils\HtmlWrapper.java:131: cannot
resolve symbol
symbol  : class Body
location: class MyNa.utils.HtmlWrapper
              .addElement(new Body()
                              ^
----end of javac output----
The file has a line:

import org.apache.ecs.*;

which does not generate an error.

the error-producing lines are:

128:   Html thePage=new Html()
132:       .addElement(new H1(title))

Any idea what the problem is?
Thanks
L. McCann



--
------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]






--
------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]




--
------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to