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


Reply via email to