Hi !

I'm trying to use extra classes provided in jibx 1.2.2 distribution with 
eclipse (using eclipse jibx plugin) on without XP.
I included "jibx-extras.jar" into my eclipse build path as well as all other 
required jibx jars.

My mapping file describes a HashMap, following the structure described in the 
jibx tutorial.

Here is my mapping file :

<binding>
    <mapping name = "model" class = "org.lpc.Model">
        <structure field = "modelMap" unmarshaller 
="org.jibx.extras.HashMapperStringToComplex" marshaller 
="org.jibx.extras.HashMapperStringToComplex"/>
    </mapping>
</binding>

But when jibx plugin builds the binding, I get the following error :

Error: Unmarshaller class org.jibx.extras.HashMapperStringToComplex not found; 
on structure element at (line 5, col 164, in binding.xml)
Error running binding compiler
org.jibx.runtime.JiBXException: Binding binding.xml is unusable because of 
validation errors

It seems that HashMapperStringToComplex is not recognized when in its jar : 
Indeed, I managed to find a solution by adding the source of 
"org.jibx.extras.HashMapperStringToComplex" into my project. Then it works 
fine. Is it impossible to use "jibx-extras.jar" as an included jar ?

Thanks in advance !

Philippe


      

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to