When I switch from spring 4.3.4 to 4.3.7, I encountered a NoclassDefined error after adding the Jackson-core dependency
Called: org.springframework.beans.BeanInstantiationException: Failed to instantiate [Org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter]: Constructor throws an exception; nested exception java.lang.NoClassDefFoundError: com / fasterxml / jackson / kernel / Util / DefaultIndenter
I tried to add jackson-core
<dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> <version>2.8.5</version> </dependency>
addiction but not luck
Anyone who can shed light on this will be appreciated.
Thanks Vinod
source share