Castor works with Xerces not Crimson. Try to search the mail archiv as
a patch for using Crimson may be available.
 
If you download castor source archiv all libs are included.
 
----- Original Message -----
From: wing
Sent: Tuesday, April 01, 2003 4:59 PM
Subject: [castor-dev] Unable to run the castor example, pls help

Dear all,
 
I am new in Castor and XML binding, but I am not able to run the examples/SourceGenerator in w2k with jdk 1.3.1.
 
I donwloaded the file castor-0.9.4.3.zip in which there is the examples/SourceGenerator.
 
I run the test.bat but fails and I try to the setup the environment as follows.
1. amend the paths.
2. add the crimson jar file in classpath ( I download it from apache.org, as the crimson jar is not shipped with the example)
 
I get the following compilation errors as I run the test.bat file.
 
test\Customer.java:44: cannot resolve symbol
symbol  : class AddressElement
location: class test.Customer
    private AddressElement _addressElement;
            ^
test\Customer.java:71: cannot resolve symbol
symbol  : class AddressElement
location: class test.Customer
    public AddressElement getAddressElement()
           ^
I think that I am in a wrong direction. There should be no compilation error in the example of famous Castor product.
 
Please enlighten me to join the Castor club. :)
 
Thanks in advance for any inputs and ideas.
 
Wing

Reply via email to