您的位置:首页技术文章
文章详情页

java - ssm整合 启动表现层报错。。。

【字号: 日期:2023-11-23 14:02:15浏览:75作者:猪猪

问题描述

信息: Initializing Spring FrameworkServlet ’tour-manager’五月 17, 2017 4:50:50 下午 org.apache.catalina.core.ApplicationContext log严重: StandardWrapper.Throwableorg.springframework.beans.factory.BeanCreationException: Error creating bean with name ’org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter’: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/fasterxml/jackson/core/util/DefaultIndenter

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1105)at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1050)at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)

问题解答

回答1:

从报错信息看是 项目中没引入 https://mvnrepository.com/art... 这个库你项目是用maven管理依赖吗? 先把这个依赖加上去看看

标签: java
相关文章: