spring.jackson.deserialization.wrap-exceptions=false
i need this to convert to Bean while not implementing in Application.properties
.
I tried this but not working.
My reference link Spring Boot 1.4 Customize Internal Jackson Deserialization
@Bean
public Jackson2ObjectMapperBuilder objectMapperBuilder(){
return Jackson2ObjectMapperBuilder.json().featuresToDisable(DeserializationFeature.WRAP_EXCEPTIONS) ;
}