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 - 关于指令link 中的创建变量问题2. javascript - react-router 4.0版本怎么实现以前onEnter的效果3. node.js - 在node中,一个加密操作用时69ms,是否可以接受?4. 求解决方法:Parse error: syntax error, unexpected5. vue.js - 项目提交到github上,怎么实现在线预览效果6. Python获取HTTP请求的状态码(200,404等)7. node.js - nodejs+express+vue8. javascript - gitbook serve命令找不到fontsettings.js9. 如何创建一个可供自己输入的且数据类型固定的变量10. 学html时,点“运行实例”点“提交”,右边的白框框没任何反应。

网公网安备