java - ssm整合 启动表现层报错。。。
问题描述
信息: 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管理依赖吗? 先把这个依赖加上去看看
相关文章:
1. angular.js - angularJs里面的这种判断自动生成的注释可以去掉吗?2. angular.js - angularjs 如何用一组按钮完成单选3. 用Java写发送邮件的程序,经常被当做垃圾邮件处理怎么解决4. angular.js - 求Angular ui-router 多层嵌套的Demo!5. angular.js - 有没有不需要先git clone xxxx的angular2的教程?6. java - Spring boot启动时报错?7. java - 当在子类中声明一个父类中存在的变量后,自动调用的父类构造函数不起作用。8. angular.js - angular双向绑定机制异常9. angular.js - 报这个错是什么原因呢?没有显示,因为报错,可是controller里没有这个错10. android - recyclerview显示错乱