Dennis--
Thank you for the reply, that was EXACTLY the problem.
A system property was not getting set correctly.
I have that problem now corrected.
However, now I have this problem and I believe it is similar to the JIRA Bug
#14, but not entirely sure.
Here is the situation.
I have the following
I've a class that contains an ArrayList of Strings. I'd thought that a
simple collection ... / element in the bindings file would suffice, and it
compiles ok. However, when I try to marshall the object into xml, I get the
following exception:
Collection item of type java.lang.String has no
This statement is incorrect:
collection field=tablenames item-type=java.lang.String/
I think the code your looking for will look something like so:
collection field=tablenames/
value name=tablename/
/collection
-Cameron
wrote:
I've a class that contains an ArrayList of Strings. I'd thought
Oh how I wish that were true ... nope, now I get an error while compiling
... JiBXException: Binding for class java.lang.String has not been defined
Angel
O:]
- Original Message -
From: Cameron Taggart [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 16, 2004 6:35 PM
Good day.
I believe this may be the same as JIRA issue #14, but not 100% sure.
Here is the situation.
I have the following XML file:
job
jobStatusnew/jobStatus
jobID111/jobID
jobTypeEDRInspection/jobType
technicianID012345/technicianID
Check your binding again. The sample Cameron gave you is correct (except
for the collection as an empty tag - that should be collection
field=tablenames with no '/' before the ''). From the errer message
I'd suspect you have something like:
collection field=tablenames
structure ...
With a
dang. you're right. Two different libs directories... one for dev-only jars, one
for dist jars.
sorry.
Dennis Sosnoski wrote:
Hi Linus,
Looks to me like you're probably referencing an old version of the
jibx-run.jar with the runtime binding. Can you check this?
- Dennis
Linus Kamb wrote: