Hi Werner,

I'm indeed using a mapping file (i can extract from it mapping information related to the xml showned in my email). But first, could you tell
me if the 'xsi:type="java:[I"' notation found in the xml is (seems) correct ?

Thanks,

Chris

Werner Guttmann wrote:
That's truly an odd one .. ;-). A few random questions, just to establish a context for me. Are you using a mapping file ? If not, is this discussion based upon Java classes that have been generated from an XML schema ? Or are you using Castor XML without a mapping file, relying on default introspection ? 

Werner

  
-----Ursprüngliche Nachricht-----
Von: Christophe Assemat [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 10. Mai 2007 11:34
An: [email protected]
Betreff: [castor-user] [XML] unable to instantiate [I;
java.lang.ClassNotFoundException: [I

Hi,

I have an application running perfectly with jre 1.5.xx but which fails
when i try to use
jre 1.6. While trying to 'unmarshal' an xml previously marshalled
object, it fails :

unable to instantiate [I; java.lang.ClassNotFoundException: [I
...

Part of the xml concerned looks like :

<targetmap internalkey="33">
<range xsi:type="java:[I">
 <integer>12345</integer>
 <integer>34567</integer>
</range>
<range ...>
...
</range>
...
</targetmap>

I'm still using 'castor-1.0.2' version and i'm planning to move to
'castor-1.1.1' but anyhow i would like to understand why
this problem arises.

Cheers

C.ASSEMAT
GenomeQuest Inc.



---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email
    


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


  

--------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email

Reply via email to