posted 2 years ago
In springboot app, Existing classes
After introducing the above class, it creates the bean in ClassB but it gives the following error :
"Unsatisfied dependency expressed through method 'standardJacksonObjectMapperBuilderCustomizer' parameter 1; nested exception is org.springframework.boot.context.properties.ConfigurationPropertiesBindException: Error creating bean with name 'spring.jackson-org.springframework.boot.autoconfigure.jackson.JacksonProperties': Could not bind properties to 'JacksonProperties' : prefix=spring.jackson, ignoreInvalidFields=false, ignoreUnknownFields=true; nested exception is java.lang.IllegalStateException: org.springframework.context.annotation.AnnotationConfigApplicationContext@657c8ad9 has not been refreshed yet"
I also implemented the following solution but it did not work
Any suggestions to resolve would be appreciated.