您的位置:首頁技術文章
文章詳情頁

java - ssm整合 啟動表現層報錯。。。

瀏覽:145日期:2023-11-23 14:02:15

問題描述

信息: 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
相關文章:
国产综合久久一区二区三区