Hello,
Can
you post your xml & schema?
Thanx and regards
marco
-----Original Message-----
From: h z
[mailto:[EMAIL PROTECTED]
Sent: 10 June 2005 14:51
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
|