Hi,
 
did you compile the generated Java and descriptor classes and add them to your CLASSPATH ?
 
Regards
Werner
-----Original Message-----
From: h z [mailto:[EMAIL PROTECTED]
Sent: Friday, June 10, 2005 3:51 PM
To: [email protected]
Subject: [castor-user] Help: unable to find FieldDescriptor....

Hi all
After building java class succesfully, I always got the following error when I run a test program.

"unable to find FieldDescriptor for 'VarAsciiFrame' in ClassDescriptor of Instrument{file: [not available]; line: 8; column: 62}
        at org.exolab.castor.xml.Unmarshal
ler.unmarshal(Unmarshaller.java:671)
        at org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:565)
        at org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:748)
         .............................
"
I checked the generated classes, both VarAsciiFrame.class and VarAsciiFrameDescriptor.class are generated.

BTW, for those generated descriptor class files, why so many XXXXDescriptor$1.class XXXXDescriptor$2.class were also created?

Any suggestion will be appriciated

Reply via email to