Hi Bert,
what's the Castor release you use?
Regards
Ralf
Bert Verhees schrieb:
Hi,
I cannot find much about this problem on Google.
The problem is, I am using the mappingtool, and try to generate a mappingfile
to a class which has a property that has as type java.util.List.
It comes to an Exception with following stacktrace (see below):
I followed the problem in Eclipse, it all works fine, until the last line, I
cannot find the sourcecode of
org.exolab.castor.mapping.xml.types.FieldMappingCollectionType.java
or
org.exolab.castor.mapping.xml.FieldMapping.java
So I am not able to step inside the classes to find out what is wrong.
The only think I can think of is a bug. I also checked Jira, but I did not
find this bug, but maybe I have overlooked it.
It is also possible that I do something wrong, but what could I do wrong in
this case?
Thank very much for any help
Kind regards
Bert Verhees
Exception in thread "main" java.lang.IllegalArgumentException: list is not a
valid FieldMappingCollectionType
at
org.exolab.castor.mapping.xml.types.FieldMappingCollectionType.valueOf(FieldMappingCollectionType.java:248)
at org.exolab.castor.tools.MappingTool.addClass(MappingTool.java:390)
at org.exolab.castor.tools.MappingTool.addClass(MappingTool.java:237)
at org.exolab.castor.tools.MappingTool.addClass(MappingTool.java:424)
at org.exolab.castor.tools.MappingTool.addClass(MappingTool.java:237)
at org.openehr.rm.utils.CastorMapping.main(CastorMapping.java:27)
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
--
Syscon Ingenieurbüro für Meß- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstraße 11
72127 Kusterdingen
Germany
Tel. +49 7071 3690 52
Mobil: +49 173 9630135
Fax +49 7071 3690 98
Internet: www.syscon.eu
E-Mail: [email protected]
Sitz der Gesellschaft: D-72127 Kusterdingen
Registereintrag: Amtsgericht Stuttgart, HRB 382295
Geschäftsleitung: Jens Joachim, Ralf Joachim
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email