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. docker安装后出现Cannot connect to the Docker daemon.2. docker内创建jenkins访问另一个容器下的服务器问题3. nignx - docker内nginx 80端口被占用4. 在windows下安装docker Toolbox 启动Docker Quickstart Terminal 失败!5. docker gitlab 如何git clone?6. dockerfile - 为什么docker容器启动不了?7. docker 17.03 怎么配置 registry mirror ?8. html - css气泡,实现“倒三角(不知道算不算三角了)”可透明的。9. 列宽好窄,跟老师显示的列宽不一样10. 如何解决docker宿主机无法访问容器中的服务?