Dozer, how to map from java.util.Map to complex type?
问题 I'd like to map from a java.util.Map to a complex type, let's call it Abc. <mapping> <class-a>java.util.Map</class-a> <class-b bean-factory="xyz.AbcBeanFactory" factory-bean-id="AbcBeanFactory"> xyz.Abc </class-b> <field> <a>Name</a> <b>companyName</b> </field> </mapping> With that I get this error (which is comprehensible): org.dozer.MappingException: No read or write method found for field (Name) in class (interface java.util.Map) Ok, how do I map from a java.util.Map that has an entry with