錯誤 com.fasterxml.jackson.core.util.DefaultPrettyPrinter$Indenter

spring 版本 4.3.5
Jackson 版本2.6 2.8均測試過

問題詳情:
四月 09, 2018 11:45:32 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server version: Apache Tomcat/7.0.77
四月 09, 2018 11:45:32 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server built: Mar 28 2017 16:01:48 UTC
四月 09, 2018 11:45:32 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server number: 7.0.77.0
四月 09, 2018 11:45:32 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Name: Windows 10
四月 09, 2018 11:45:32 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Version: 10.0
四月 09, 2018 11:45:32 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Architecture: amd64
四月 09, 2018 11:45:32 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Java Home: E:\command_tool\jdk\jdk1.8\jre
四月 09, 2018 11:45:32 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Version: 1.8.0_131-b11
四月 09, 2018 11:45:32 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Vendor: Oracle Corporation
四月 09, 2018 11:45:32 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_BASE: E:\command_tool\tomcat7\apache-tomcat-7.0.77
四月 09, 2018 11:45:32 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_HOME: E:\command_tool\tomcat7\apache-tomcat-7.0.77
四月 09, 2018 11:45:32 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.base=E:\command_tool\tomcat7\apache-tomcat-7.0.77
四月 09, 2018 11:45:32 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.home=E:\command_tool\tomcat7\apache-tomcat-7.0.77
四月 09, 2018 11:45:32 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dwtp.deploy=E:\command_tool\tomcat7\apache-tomcat-7.0.77\webapps
四月 09, 2018 11:45:32 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.endorsed.dirs=E:\command_tool\tomcat7\apache-tomcat-7.0.77\endorsed
四月 09, 2018 11:45:32 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dfile.encoding=GBK
四月 09, 2018 11:45:32 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: E:\command_tool\jdk\jdk1.8\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;F:/computer_Software/eclipse/jre/bin/client;F:/computer_Software/eclipse/jre/bin;F:/computer_Software/eclipse/jre/lib/i386;G:\oracle\product\10.2.0\db_1\bin;E:\command_tool\apache-maven-3.3.9\bin;E:\command_tool\jdk\jdk1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Users\admin.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;H:\software tool\uml建模軟件\common;C:\Program Files (x86)\GtkSharp\2.12\bin;F:\computer_Software\ultraedit;C:\Program Files\IDM Computer Solutions\UltraCompare;F:\resource\platform-tools;;F:\resource\platform-tools;F:\computer_Software\mysql\bin;;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Users\admin\AppData\Local\Microsoft\WindowsApps;E:\modulesim\win64;F:\resource\platform-tools\adb.exe;C:\Users\admin\AppData\Local\GitHubDesktop\bin;F:\computer_Software\eclipse;;.
四月 09, 2018 11:45:33 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler [「http-bio-8080」]
四月 09, 2018 11:45:33 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler [「ajp-bio-8009」]
四月 09, 2018 11:45:33 下午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1000 ms
四月 09, 2018 11:45:33 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
四月 09, 2018 11:45:33 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.77
四月 09, 2018 11:45:33 下午 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor E:\command_tool\tomcat7\apache-tomcat-7.0.77\conf\Catalina\localhost\spring_mybatis_mvc.xml
四月 09, 2018 11:45:33 下午 org.apache.catalina.startup.HostConfig deployDescriptor
警告: A docBase E:\command_tool\tomcat7\apache-tomcat-7.0.77\webapps\spring_mybatis_mvc inside the host appBase has been specified, and will be ignored
四月 09, 2018 11:45:33 下午 org.apache.catalina.startup.SetContextPropertiesRule begin
警告: [SetContextPropertiesRule]{Context} Setting property ‘source’ to ‘org.eclipse.jst.jee.server:spring_mybatis_mvc’ did not find a matching property.
四月 09, 2018 11:45:35 下午 org.apache.catalina.startup.TldConfig execute
信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
四月 09, 2018 11:45:35 下午 org.apache.catalina.core.ApplicationContext log
信息: No Spring WebApplicationInitializer types detected on classpath
四月 09, 2018 11:45:35 下午 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
四月 09, 2018 11:45:35 下午 org.springframework.web.context.ContextLoader initWebApplicationContext
信息: Root WebApplicationContext: initialization started
四月 09, 2018 11:45:35 下午 org.springframework.web.context.support.XmlWebApplicationContext prepareRefresh
信息: Refreshing Root WebApplicationContext: startup date [Mon Apr 09 23:45:35 CST 2018]; root of context hierarchy
四月 09, 2018 11:45:36 下午 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
信息: Loading XML bean definitions from ServletContext resource [/WEB-INF/SpringConf.xml]
四月 09, 2018 11:45:36 下午 org.springframework.jdbc.datasource.DriverManagerDataSource setDriverClassName
信息: Loaded JDBC driver: com.mysql.jdbc.Driver
四月 09, 2018 11:45:37 下午 org.springframework.web.context.ContextLoader initWebApplicationContext
信息: Root WebApplicationContext: initialization completed in 1496 ms
四月 09, 2018 11:45:37 下午 org.apache.catalina.util.SessionIdGeneratorBase createSecureRandom
信息: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [279] milliseconds.
四月 09, 2018 11:45:37 下午 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring FrameworkServlet ‘springweb’
四月 09, 2018 11:45:37 下午 org.springframework.web.servlet.DispatcherServlet initServletBean
信息: FrameworkServlet ‘springweb’: initialization started
四月 09, 2018 11:45:37 下午 org.springframework.web.context.support.XmlWebApplicationContext prepareRefresh
信息: Refreshing WebApplicationContext for namespace ‘springweb-servlet’: startup date [Mon Apr 09 23:45:37 CST 2018]; parent: Root WebApplicationContext
四月 09, 2018 11:45:37 下午 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
信息: Loading XML bean definitions from ServletContext resource [/WEB-INF/springweb-servlet.xml]
四月 09, 2018 11:45:38 下午 org.springframework.web.servlet.handler.SimpleUrlHandlerMapping registerHandler
信息: Mapped URL path [/**] onto handler ‘org.springframework.web.servlet.resource.DefaultServletHttpRequestHandler#0’
四月 09, 2018 11:45:38 下午 org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
信息: Mapped 「{[/t],methods=[GET]}」 onto public boolean com.ccut.Action.SpringServlet.servetGet(com.ccut.Model.Name,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
四月 09, 2018 11:45:38 下午 org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter initControllerAdviceCache
信息: Looking for @ControllerAdvice: WebApplicationContext for namespace ‘springweb-servlet’: startup date [Mon Apr 09 23:45:37 CST 2018]; parent: Root WebApplicationContext
四月 09, 2018 11:45:38 下午 org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter initControllerAdviceCache
信息: Looking for @ControllerAdvice: WebApplicationContext for namespace ‘springweb-servlet’: startup date [Mon Apr 09 23:45:37 CST 2018]; parent: Root WebApplicationContext
四月 09, 2018 11:45:38 下午 org.springframework.web.context.support.XmlWebApplicationContext refresh
警告: Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘mappingJackson2HttpMessageConverter’: Failed to introspect bean class [org.springframework.http.converter.json.MappingJackson2HttpMessageConverter] for lookup method metadata: could not find class that it depends on; nested exception is java.lang.NoClassDefFoundError: com/fasterxml/jackson/core/util/DefaultPrettyPrinter I n d e n t e r 09 , 2018 11 : 45 : 38 o r g . s p r i n g f r a m e w o r k . w e b . s e r v l e t . D i s p a t c h e r S e r v l e t i n i t S e r v l e t B e a n : C o n t e x t i n i t i a l i z a t i o n f a i l e d o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . B e a n C r e a t i o n E x c e p t i o n : E r r o r c r e a t i n g b e a n w i t h n a m e m a p p i n g J a c k s o n 2 H t t p M e s s a g e C o n v e r t e r : F a i l e d t o i n t r o s p e c t b e a n c l a s s [ o r g . s p r i n g f r a m e w o r k . h t t p . c o n v e r t e r . j s o n . M a p p i n g J a c k s o n 2 H t t p M e s s a g e C o n v e r t e r ] f o r l o o k u p m e t h o d m e t a d a t a : c o u l d n o t f i n d c l a s s t h a t i t d e p e n d s o n ; n e s t e d e x c e p t i o n i s j a v a . l a n g . N o C l a s s D e f F o u n d E r r o r : c o m / f a s t e r x m l / j a c k s o n / c o r e / u t i l / D e f a u l t P r e t t y P r i n t e r Indenter
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.determineCandidateConstructors(AutowiredAnnotationBeanPostProcessor.java:269)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineConstructorsFromBeanPostProcessors(AbstractAutowireCapableBeanFactory.java:1079)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1052)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
at org.springframework.beans.factory.support.AbstractBeanFactory 1. g e t O b j e c t ( A b s t r a c t B e a n F a c t o r y . j a v a : 306 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . D e f a u l t S i n g l e t o n B e a n R e g i s t r y . g e t S i n g l e t o n ( D e f a u l t S i n g l e t o n B e a n R e g i s t r y . j a v a : 230 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . A b s t r a c t B e a n F a c t o r y . d o G e t B e a n ( A b s t r a c t B e a n F a c t o r y . j a v a : 302 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . A b s t r a c t B e a n F a c t o r y . g e t B e a n ( A b s t r a c t B e a n F a c t o r y . j a v a : 197 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . D e f a u l t L i s t a b l e B e a n F a c t o r y . p r e I n s t a n t i a t e S i n g l e t o n s ( D e f a u l t L i s t a b l e B e a n F a c t o r y . j a v a : 759 ) a t o r g . s p r i n g f r a m e w o r k . c o n t e x t . s u p p o r t . A b s t r a c t A p p l i c a t i o n C o n t e x t . f i n i s h B e a n F a c t o r y I n i t i a l i z a t i o n ( A b s t r a c t A p p l i c a t i o n C o n t e x t . j a v a : 866 ) a t o r g . s p r i n g f r a m e w o r k . c o n t e x t . s u p p o r t . A b s t r a c t A p p l i c a t i o n C o n t e x t . r e f r e s h ( A b s t r a c t A p p l i c a t i o n C o n t e x t . j a v a : 542 ) a t o r g . s p r i n g f r a m e w o r k . w e b . s e r v l e t . F r a m e w o r k S e r v l e t . c o n f i g u r e A n d R e f r e s h W e b A p p l i c a t i o n C o n t e x t ( F r a m e w o r k S e r v l e t . j a v a : 668 ) a t o r g . s p r i n g f r a m e w o r k . w e b . s e r v l e t . F r a m e w o r k S e r v l e t . c r e a t e W e b A p p l i c a t i o n C o n t e x t ( F r a m e w o r k S e r v l e t . j a v a : 634 ) a t o r g . s p r i n g f r a m e w o r k . w e b . s e r v l e t . F r a m e w o r k S e r v l e t . c r e a t e W e b A p p l i c a t i o n C o n t e x t ( F r a m e w o r k S e r v l e t . j a v a : 682 ) a t o r g . s p r i n g f r a m e w o r k . w e b . s e r v l e t . F r a m e w o r k S e r v l e t . i n i t W e b A p p l i c a t i o n C o n t e x t ( F r a m e w o r k S e r v l e t . j a v a : 553 ) a t o r g . s p r i n g f r a m e w o r k . w e b . s e r v l e t . F r a m e w o r k S e r v l e t . i n i t S e r v l e t B e a n ( F r a m e w o r k S e r v l e t . j a v a : 494 ) a t o r g . s p r i n g f r a m e w o r k . w e b . s e r v l e t . H t t p S e r v l e t B e a n . i n i t ( H t t p S e r v l e t B e a n . j a v a : 136 ) a t j a v a x . s e r v l e t . G e n e r i c S e r v l e t . i n i t ( G e n e r i c S e r v l e t . j a v a : 158 ) a t o r g . a p a c h e . c a t a l i n a . c o r e . S t a n d a r d W r a p p e r . i n i t S e r v l e t ( S t a n d a r d W r a p p e r . j a v a : 1269 ) a t o r g . a p a c h e . c a t a l i n a . c o r e . S t a n d a r d W r a p p e r . l o a d S e r v l e t ( S t a n d a r d W r a p p e r . j a v a : 1182 ) a t o r g . a p a c h e . c a t a l i n a . c o r e . S t a n d a r d W r a p p e r . l o a d ( S t a n d a r d W r a p p e r . j a v a : 1072 ) a t o r g . a p a c h e . c a t a l i n a . c o r e . S t a n d a r d C o n t e x t . l o a d O n S t a r t u p ( S t a n d a r d C o n t e x t . j a v a : 5368 ) a t o r g . a p a c h e . c a t a l i n a . c o r e . S t a n d a r d C o n t e x t . s t a r t I n t e r n a l ( S t a n d a r d C o n t e x t . j a v a : 5660 ) a t o r g . a p a c h e . c a t a l i n a . u t i l . L i f e c y c l e B a s e . s t a r t ( L i f e c y c l e B a s e . j a v a : 145 ) a t o r g . a p a c h e . c a t a l i n a . c o r e . C o n t a i n e r B a s e . a d d C h i l d I n t e r n a l ( C o n t a i n e r B a s e . j a v a : 899 ) a t o r g . a p a c h e . c a t a l i n a . c o r e . C o n t a i n e r B a s e . a d d C h i l d ( C o n t a i n e r B a s e . j a v a : 875 ) a t o r g . a p a c h e . c a t a l i n a . c o r e . S t a n d a r d H o s t . a d d C h i l d ( S t a n d a r d H o s t . j a v a : 652 ) a t o r g . a p a c h e . c a t a l i n a . s t a r t u p . H o s t C o n f i g . d e p l o y D e s c r i p t o r ( H o s t C o n f i g . j a v a : 679 ) a t o r g . a p a c h e . c a t a l i n a . s t a r t u p . H o s t C o n f i g DeployDescriptor.run(HostConfig.java:1966)
at java.util.concurrent.Executors R u n n a b l e A d a p t e r . c a l l ( E x e c u t o r s . j a v a : 511 ) a t j a v a . u t i l . c o n c u r r e n t . F u t u r e T a s k . r u n ( F u t u r e T a s k . j a v a : 266 ) a t j a v a . u t i l . c o n c u r r e n t . T h r e a d P o o l E x e c u t o r . r u n W o r k e r ( T h r e a d P o o l E x e c u t o r . j a v a : 1142 ) a t j a v a . u t i l . c o n c u r r e n t . T h r e a d P o o l E x e c u t o r Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoClassDefFoundError: com/fasterxml/jackson/core/util/DefaultPrettyPrinter

相關文章
相關標籤/搜索