mybatis plus项目启动报错,

27-Jun-2019 18:03:32.996 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener instance of class [org.springframework.web.context.ContextLoaderListener]
org.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/databind/exc/InvalidDefinitionException

27-Jun-2019 18:03:32.996 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener instance of class [org.springframework.web.context.ContextLoaderListener]
org.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/databind/exc/InvalidDefinitionException
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1270)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1164)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:538)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:498)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:846)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:863)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:546)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:400)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:291)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4770)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5236)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:744)
at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1730)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:287)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:483)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:432)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:287)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
at javax.management.remote.rmi.RMIConnectionImpl.access 300 ( R M I C o n n e c t i o n I m p l . j a v a : 76 ) a t j a v a x . m a n a g e m e n t . r e m o t e . r m i . R M I C o n n e c t i o n I m p l 300(RMIConnectionImpl.java:76) at javax.management.remote.rmi.RMIConnectionImpl 300(RMIConnectionImpl.java:76)atjavax.management.remote.rmi.RMIConnectionImplPrivilegedOperation.run(RMIConnectionImpl.java:1309)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1401)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport 1. r u n ( T r a n s p o r t . j a v a : 197 ) a t j a v a . s e c u r i t y . A c c e s s C o n t r o l l e r . d o P r i v i l e g e d ( N a t i v e M e t h o d ) a t s u n . r m i . t r a n s p o r t . T r a n s p o r t . s e r v i c e C a l l ( T r a n s p o r t . j a v a : 196 ) a t s u n . r m i . t r a n s p o r t . t c p . T C P T r a n s p o r t . h a n d l e M e s s a g e s ( T C P T r a n s p o r t . j a v a : 573 ) a t s u n . r m i . t r a n s p o r t . t c p . T C P T r a n s p o r t 1.run(Transport.java:197) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:196) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:573) at sun.rmi.transport.tcp.TCPTransport 1.run(Transport.java:197)atjava.security.AccessController.doPrivileged(NativeMethod)atsun.rmi.transport.Transport.serviceCall(Transport.java:196)atsun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:573)atsun.rmi.transport.tcp.TCPTransportConnectionHandler.run0(TCPTransport.java:834)
at sun.rmi.transport.tcp.TCPTransport C o n n e c t i o n H a n d l e r . l a m b d a ConnectionHandler.lambda ConnectionHandler.lambdarun 0 ( T C P T r a n s p o r t . j a v a : 688 ) a t j a v a . s e c u r i t y . A c c e s s C o n t r o l l e r . d o P r i v i l e g e d ( N a t i v e M e t h o d ) a t s u n . r m i . t r a n s p o r t . t c p . T C P T r a n s p o r t 0(TCPTransport.java:688) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.tcp.TCPTransport 0(TCPTransport.java:688)atjava.security.AccessController.doPrivileged(NativeMethod)atsun.rmi.transport.tcp.TCPTransportConnectionHandler.run(TCPTransport.java:687)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor W o r k e r . r u n ( T h r e a d P o o l E x e c u t o r . j a v a : 624 ) a t j a v a . l a n g . T h r e a d . r u n ( T h r e a d . j a v a : 748 ) C a u s e d b y : o r g . s p r i n g f r a m e w o r k . b e a n s . B e a n I n s t a n t i a t i o n E x c e p t i o n : F a i l e d t o i n s t a n t i a t e [ 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 . m v c . m e t h o d . a n n o t a t i o n . R e q u e s t M a p p i n g H a n d l e r A d a p t e r ] : C o n s t r u c t o r t h r e w e x c e p t i 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 / d a t a b i n d / e x c / I n v a l i d D e f i n i t i o n E x c e p t i o n 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 . B e a n U t i l s . i n s t a n t i a t e C l a s s ( B e a n U t i l s . j a v a : 184 ) 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 . S i m p l e I n s t a n t i a t i o n S t r a t e g y . i n s t a n t i a t e ( S i m p l e I n s t a n t i a t i o n S t r a t e g y . j a v a : 87 ) 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 A u t o w i r e C a p a b l e B e a n F a c t o r y . i n s t a n t i a t e B e a n ( A b s t r a c t A u t o w i r e C a p a b l e B e a n F a c t o r y . j a v a : 1262 ) . . . 58 m o r e C a u s e d b y : 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 / d a t a b i n d / e x c / I n v a l i d D e f i n i t i o n E x c e p t i o n a t 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 . s u p p o r t . A l l E n c o m p a s s i n g F o r m H t t p M e s s a g e C o n v e r t e r . &lt; i n i t &gt; ( A l l E n c o m p a s s i n g F o r m H t t p M e s s a g e C o n v e r t e r . j a v a : 76 ) 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 . m v c . m e t h o d . a n n o t a t i o n . R e q u e s t M a p p i n g H a n d l e r A d a p t e r . &lt; i n i t &gt; ( R e q u e s t M a p p i n g H a n d l e r A d a p t e r . j a v a : 208 ) a t s u n . r e f l e c t . N a t i v e C o n s t r u c t o r A c c e s s o r I m p l . n e w I n s t a n c e 0 ( N a t i v e M e t h o d ) a t s u n . r e f l e c t . N a t i v e C o n s t r u c t o r A c c e s s o r I m p l . n e w I n s t a n c e ( N a t i v e C o n s t r u c t o r A c c e s s o r I m p l . j a v a : 62 ) a t s u n . r e f l e c t . D e l e g a t i n g C o n s t r u c t o r A c c e s s o r I m p l . n e w I n s t a n c e ( D e l e g a t i n g C o n s t r u c t o r A c c e s s o r I m p l . j a v a : 45 ) a t j a v a . l a n g . r e f l e c t . C o n s t r u c t o r . n e w I n s t a n c e ( C o n s t r u c t o r . j a v a : 423 ) 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 . B e a n U t i l s . i n s t a n t i a t e C l a s s ( B e a n U t i l s . j a v a : 172 ) . . . 60 m o r e C a u s e d b y : j a v a . l a n g . C l a s s N o t F o u n d E x c e p t i o n : c o m . f a s t e r x m l . j a c k s o n . d a t a b i n d . e x c . I n v a l i d D e f i n i t i o n E x c e p t i o n a t o r g . a p a c h e . c a t a l i n a . l o a d e r . W e b a p p C l a s s L o a d e r B a s e . l o a d C l a s s ( W e b a p p C l a s s L o a d e r B a s e . j a v a : 1364 ) a t o r g . a p a c h e . c a t a l i n a . l o a d e r . W e b a p p C l a s s L o a d e r B a s e . l o a d C l a s s ( W e b a p p C l a s s L o a d e r B a s e . j a v a : 1185 ) . . . 67 m o r e 27 − J u n − 201918 : 03 : 32.999 严 重 [ R M I T C P C o n n e c t i o n ( 3 ) − 127.0.0.1 ] 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 O n e o r m o r e l i s t e n e r s f a i l e d t o s t a r t . F u l l d e t a i l s w i l l b e f o u n d i n t h e a p p r o p r i a t e c o n t a i n e r l o g f i l e 27 − J u n − 201918 : 03 : 33.000 严 重 [ R M I T C P C o n n e c t i o n ( 3 ) − 127.0.0.1 ] 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 C o n t e x t [ ] s t a r t u p f a i l e d d u e t o p r e v i o u s e r r o r s 27 − J u n − 201918 : 03 : 33.006 信 息 [ R M I T C P C o n n e c t i o n ( 3 ) − 127.0.0.1 ] o r g . a p a c h e . c a t a l i n a . c o r e . A p p l i c a t i o n C o n t e x t . l o g C l o s i n g S p r i n g r o o t W e b A p p l i c a t i o n C o n t e x t 27 − J u n − 201918 : 03 : 33.027 警 告 [ R M I T C P C o n n e c t i o n ( 3 ) − 127.0.0.1 ] o r g . a p a c h e . c a t a l i n a . l o a d e r . W e b a p p C l a s s L o a d e r B a s e . c l e a r R e f e r e n c e s J d b c T h e w e b a p p l i c a t i o n [ R O O T ] r e g i s t e r e d t h e J D B C d r i v e r [ c o m . a l i b a b a . d r u i d . p r o x y . D r u i d D r i v e r ] b u t f a i l e d t o u n r e g i s t e r i t w h e n t h e w e b a p p l i c a t i o n w a s s t o p p e d . T o p r e v e n t a m e m o r y l e a k , t h e J D B C D r i v e r h a s b e e n f o r c i b l y u n r e g i s t e r e d . 27 − J u n − 201918 : 03 : 33.028 警 告 [ R M I T C P C o n n e c t i o n ( 3 ) − 127.0.0.1 ] o r g . a p a c h e . c a t a l i n a . l o a d e r . W e b a p p C l a s s L o a d e r B a s e . c l e a r R e f e r e n c e s J d b c T h e w e b a p p l i c a t i o n [ R O O T ] r e g i s t e r e d t h e J D B C d r i v e r [ c o m . m y s q l . j d b c . D r i v e r ] b u t f a i l e d t o u n r e g i s t e r i t w h e n t h e w e b a p p l i c a t i o n w a s s t o p p e d . T o p r e v e n t a m e m o r y l e a k , t h e J D B C D r i v e r h a s b e e n f o r c i b l y u n r e g i s t e r e d . [ 2019 − 06 − 2706 : 03 : 33 , 043 ] A r t i f a c t z h i l i a n g A p p : w a r e x p l o d e d : E r r o r d u r i n g a r t i f a c t d e p l o y m e n t . S e e s e r v e r l o g f o r d e t a i l s . 27 − J u n − 201918 : 03 : 36.014 信 息 [ A b a n d o n e d c o n n e c t i o n c l e a n u p t h r e a d ] o r g . a p a c h e . c a t a l i n a . l o a d e r . W e b a p p C l a s s L o a d e r B a s e . c h e c k S t a t e F o r R e s o u r c e L o a d i n g I l l e g a l a c c e s s : t h i s w e b a p p l i c a t i o n i n s t a n c e h a s b e e n s t o p p e d a l r e a d y . C o u l d n o t l o a d [ ] . T h e f o l l o w i n g s t a c k t r a c e i s t h r o w n f o r d e b u g g i n g p u r p o s e s a s w e l l a s t o a t t e m p t t o t e r m i n a t e t h e t h r e a d w h i c h c a u s e d t h e i l l e g a l a c c e s s . j a v a . l a n g . I l l e g a l S t a t e E x c e p t i o n : I l l e g a l a c c e s s : t h i s w e b a p p l i c a t i o n i n s t a n c e h a s b e e n s t o p p e d a l r e a d y . C o u l d n o t l o a d [ ] . T h e f o l l o w i n g s t a c k t r a c e i s t h r o w n f o r d e b u g g i n g p u r p o s e s a s w e l l a s t o a t t e m p t t o t e r m i n a t e t h e t h r e a d w h i c h c a u s e d t h e i l l e g a l a c c e s s . a t o r g . a p a c h e . c a t a l i n a . l o a d e r . W e b a p p C l a s s L o a d e r B a s e . c h e c k S t a t e F o r R e s o u r c e L o a d i n g ( W e b a p p C l a s s L o a d e r B a s e . j a v a : 1384 ) a t o r g . a p a c h e . c a t a l i n a . l o a d e r . W e b a p p C l a s s L o a d e r B a s e . g e t R e s o u r c e ( W e b a p p C l a s s L o a d e r B a s e . j a v a : 1034 ) a t c o m . m y s q l . j d b c . A b a n d o n e d C o n n e c t i o n C l e a n u p T h r e a d . c h e c k C o n t e x t C l a s s L o a d e r s ( A b a n d o n e d C o n n e c t i o n C l e a n u p T h r e a d . j a v a : 90 ) a t c o m . m y s q l . j d b c . A b a n d o n e d C o n n e c t i o n C l e a n u p T h r e a d . r u n ( A b a n d o n e d C o n n e c t i o n C l e a n u p T h r e a d . j a v a : 63 ) 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 : 1149 ) 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:624) at java.lang.Thread.run(Thread.java:748) Caused by: 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/databind/exc/InvalidDefinitionException at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:184) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1262) ... 58 more Caused by: java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/exc/InvalidDefinitionException at org.springframework.http.converter.support.AllEncompassingFormHttpMessageConverter.&lt;init&gt;(AllEncompassingFormHttpMessageConverter.java:76) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.&lt;init&gt;(RequestMappingHandlerAdapter.java:208) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:172) ... 60 more Caused by: java.lang.ClassNotFoundException: com.fasterxml.jackson.databind.exc.InvalidDefinitionException at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1364) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1185) ... 67 more 27-Jun-2019 18:03:32.999 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file 27-Jun-2019 18:03:33.000 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors 27-Jun-2019 18:03:33.006 信息 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.ApplicationContext.log Closing Spring root WebApplicationContext 27-Jun-2019 18:03:33.027 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [ROOT] registered the JDBC driver [com.alibaba.druid.proxy.DruidDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 27-Jun-2019 18:03:33.028 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [ROOT] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. [2019-06-27 06:03:33,043] Artifact zhiliangApp:war exploded: Error during artifact deployment. See server log for details. 27-Jun-2019 18:03:36.014 信息 [Abandoned connection cleanup thread] org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading Illegal access: this web application instance has been stopped already. Could not load []. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access. java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load []. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access. at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1384) at org.apache.catalina.loader.WebappClassLoaderBase.getResource(WebappClassLoaderBase.java:1034) at com.mysql.jdbc.AbandonedConnectionCleanupThread.checkContextClassLoaders(AbandonedConnectionCleanupThread.java:90) at com.mysql.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:63) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor Worker.run(ThreadPoolExecutor.java:624)atjava.lang.Thread.run(Thread.java:748)Causedby:org.springframework.beans.BeanInstantiationException:Failedtoinstantiate[org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter]:Constructorthrewexception;nestedexceptionisjava.lang.NoClassDefFoundError:com/fasterxml/jackson/databind/exc/InvalidDefinitionExceptionatorg.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:184)atorg.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1262)...58moreCausedby:java.lang.NoClassDefFoundError:com/fasterxml/jackson/databind/exc/InvalidDefinitionExceptionatorg.springframework.http.converter.support.AllEncompassingFormHttpMessageConverter.<init>(AllEncompassingFormHttpMessageConverter.java:76)atorg.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.<init>(RequestMappingHandlerAdapter.java:208)atsun.reflect.NativeConstructorAccessorImpl.newInstance0(NativeMethod)atsun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)atsun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)atjava.lang.reflect.Constructor.newInstance(Constructor.java:423)atorg.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:172)...60moreCausedby:java.lang.ClassNotFoundException:com.fasterxml.jackson.databind.exc.InvalidDefinitionExceptionatorg.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1364)atorg.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1185)...67more27Jun201918:03:32.999[RMITCPConnection(3)127.0.0.1]org.apache.catalina.core.StandardContext.startInternalOneormorelistenersfailedtostart.Fulldetailswillbefoundintheappropriatecontainerlogfile27Jun201918:03:33.000[RMITCPConnection(3)127.0.0.1]org.apache.catalina.core.StandardContext.startInternalContext[]startupfailedduetopreviouserrors27Jun201918:03:33.006[RMITCPConnection(3)127.0.0.1]org.apache.catalina.core.ApplicationContext.logClosingSpringrootWebApplicationContext27Jun201918:03:33.027[RMITCPConnection(3)127.0.0.1]org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbcThewebapplication[ROOT]registeredtheJDBCdriver[com.alibaba.druid.proxy.DruidDriver]butfailedtounregisteritwhenthewebapplicationwasstopped.Topreventamemoryleak,theJDBCDriverhasbeenforciblyunregistered.27Jun201918:03:33.028[RMITCPConnection(3)127.0.0.1]org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbcThewebapplication[ROOT]registeredtheJDBCdriver[com.mysql.jdbc.Driver]butfailedtounregisteritwhenthewebapplicationwasstopped.Topreventamemoryleak,theJDBCDriverhasbeenforciblyunregistered.[2019062706:03:33,043]ArtifactzhiliangApp:warexploded:Errorduringartifactdeployment.Seeserverlogfordetails.27Jun201918:03:36.014[Abandonedconnectioncleanupthread]org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoadingIllegalaccess:thiswebapplicationinstancehasbeenstoppedalready.Couldnotload[].Thefollowingstacktraceisthrownfordebuggingpurposesaswellastoattempttoterminatethethreadwhichcausedtheillegalaccess.java.lang.IllegalStateException:Illegalaccess:thiswebapplicationinstancehasbeenstoppedalready.Couldnotload[].Thefollowingstacktraceisthrownfordebuggingpurposesaswellastoattempttoterminatethethreadwhichcausedtheillegalaccess.atorg.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1384)atorg.apache.catalina.loader.WebappClassLoaderBase.getResource(WebappClassLoaderBase.java:1034)atcom.mysql.jdbc.AbandonedConnectionCleanupThread.checkContextClassLoaders(AbandonedConnectionCleanupThread.java:90)atcom.mysql.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:63)atjava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)atjava.util.concurrent.ThreadPoolExecutorWorker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

网上找了很多方法都不行,把Tomcat的日志文件也看了,注解的打了,都不行,

最后解决:
原来是我的pom.xml的jar包导错了,我的在这里插入图片描述多了这个jar包,或者说倒错了,把它干掉就好了!

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值