Closed apurvaojas closed 3 months ago
Generic converters aren't supported in that way as T
is being erased to Object
. Custom Conversions must know the target types (these could be also super-types or super-interfaces) in advance. You might want to have a look at GenericConverter
that exchanges convertible types.
Spring version
'org.springframework.boot:spring-boot-starter-data-mongodb:3.3.0'
Spring boot failing start with below error due to@ReadingConverter
Unable to determine source type
<S>
and target type<T>
for your Converter [com.organic.forms.application.configurations.BsonToMyObjConverter]; does the class parameterize those types?