Hi Varghese,

You should be able to get by in this case with just having the jar in 
the classpath used by the binding compiler. Have you tried that?

  - Dennis

Dennis M. Sosnoski
SOA and Web Services in Java
Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117



Varghese C V wrote:
> I am trying to map a class which extends a super class from a jar. The 
> super class does not have JiBX bindings, but the inherited class's 
> binding definition will include the super class properties.
>
> For example If the class 'Child' extends 'Super' and 'Super' is in a jar 
> on the classpath, JiBX compiler throws the error
> 'Error: Cannot find information for class Child; on mapping element at 
> (line 2, col 97, in Child.jibx.xml)', whether or not the super class 
> properties are used in the child class binding. It works when if the 
> inheritance is removed or when Super in the same project. But both these 
> options are not viable for me. I have implementation specific types that 
> require xml bindings.
>
> Help!!! Does anyone know of a fix / work around?
>
> thanks
> Varghese C V
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> jibx-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jibx-users
>
>   

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to