Hi,

Thank you for pointing out about the classpath. I have added the 3rd party JAR to the classpath of Ant task definition and now the error was gone.

Regards,

Vairoj

Vairoj A. wrote:
Hi,

Yes, Location class is in the same classpath as other classes which could be loaded correctly. However, the different is that the Location class is extends from a class in a 3rd-party library. How to specify more than 1 classpath to JibX Ant task?

Regards,

Vairoj

Jairath, Deepak (Deepak)** CTR ** wrote:
IS Location class in the classpath ??
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Vairoj A.
Sent: Thursday, March 09, 2006 1:38 PM
To: [email protected]
Subject: [jibx-users] Unable to load class


Hi,

I have one validation error compiling the binding descriptor which I could not resolve.

[bind] Error: Unable to load class org.warsim.atlas.entity.Location for value element at (line 21, col 24, in unit-binding.xml) [bind] Error: Need property definition for value element at (line 21, col 24, in unit-binding.xml)

The binding declaration is as follow:

<value name="location" field="location_" type="org.warsim.atlas.entity.Location" usage="optional" />

The Java class is like this:

class Unit {
  ...
  ...
  ...
  private Location location_;

Location class is extends from a class in a 3rd-party library. I'm not sure that the cause is from that JibX could not reference that class or not.

Regards,

Vairoj




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users






-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users






-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to