[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jibx-users
Subject:    Re: [jibx-users] Unable to load class
From:       "Vairoj A." <vairoj () hotpop ! com>
Date:       2006-03-13 10:42:17
Message-ID: 44154C89.9080507 () hotpop ! com
[Download RAW message or body]

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: jibx-users-admin@lists.sourceforge.net
>> [mailto:jibx-users-admin@lists.sourceforge.net]On Behalf Of Vairoj A.
>> Sent: Thursday, March 09, 2006 1:38 PM
>> To: jibx-users@lists.sourceforge.net
>> 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
>> jibx-users@lists.sourceforge.net
>> 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
>> jibx-users@lists.sourceforge.net
>> 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
> jibx-users@lists.sourceforge.net
> 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
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic