mcarleio/konvert

PropertyMappingNotExistingException: No property for valueParameter

roma2341 opened this issue · 3 comments

[ksp] io.mcarle.konvert.processor.exceptions.PropertyMappingNotExistingException: No property for valueParameter=ownerId existing in [PropertyMappingInfo(mappingParamName=document, sourceName=id, targetName=id, constant=null, expression=null, ignore=false, enableConverters=[], sourceData=SourceProperty(property=id), isBasedOnAnnotation=false), PropertyMappingInfo(mappingParamName=document, sourceName=firstName, targetName=firstName, constant=null, expression=null, ignore=false, enableConverters=[], sourceData=SourceProperty(property=firstName), isBasedOnAnnotation=false), PropertyMappingInfo(mappingParamName=document, sourceName=lastName, targetName=lastName, constant=null, expression=null, ignore=false, enableConverters=[], sourceData=SourceProperty(property=lastName), isBasedOnAnnotation=false), PropertyMappingInfo(mappingParamName=document, sourceName=email, targetName=email, constant=null, expression=null, ignore=false, enableConverters=[], sourceData=SourceProperty(property=email), isBasedOnAnnotation=false), PropertyMappingInfo(mappingParamName=document, sourceName=phone, targetName=phone, constant=null, expression=null, ignore=false, enableConverters=[], sourceData=SourceProperty(property=phone), isBasedOnAnnotation=false)]

Please provide the code to reproduce.

here is:
https://file.io/Jv69cit3a7cO
Try to build user service

Please provide just the necessary code to reproduce and not via file upload, which expires after short time

image

From the error message it seems your target class expects a value for "ownerId" but your source class does not have a field for that.