求助Springboot项目报错

SpringBoot 专栏收录该内容
2 篇文章 0 订阅

Error starting ApplicationContext. To display the conditions report re-run your application with ‘debug’ enabled.
2020-03-20 10:41:46.186 ERROR 14376 — [ restartedMain] o.s.boot.SpringApplication : Application run failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘com.alibaba.dubbo.spring.boot.DubboProviderAutoConfiguration’: Invocation of init method failed; nested exception is com.alibaba.dubbo.rpc.RpcException: Fail to start server(url: dubbo://192.168.211.1:20880/com.ddbuy.service.TestHello?anyhost=true&application=ddbuy_manager_web&bind.ip=192.168.211.1&bind.port=20880&channel.readonly.sent=true&codec=dubbo&dubbo=2.6.0&generic=false&heartbeat=60000&interface=com.ddbuy.service.TestHello&methods=getHw&pid=14376&side=provider&timestamp=1584672106054) Failed to bind NettyServer on /192.168.211.1:20880, cause: Failed to bind to: /0.0.0.0:20880
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:139) ~[spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:414) ~[spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1770) ~[spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593) ~[spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515) ~[spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBeanKaTeX parse error: Expected 'EOF', got '&' at position 2655: …lo?anyhost=true&̲application=ddb…Adaptive.export(Protocol A d a p t i v e . j a v a )   [ d u b b o − 2.6.0. j a r : 2.6.0 ] a t c o m . a l i b a b a . d u b b o . r e g i s t r y . i n t e g r a t i o n . R e g i s t r y P r o t o c o l . d o L o c a l E x p o r t ( R e g i s t r y P r o t o c o l . j a v a : 181 )   [ d u b b o − 2.6.0. j a r : 2.6.0 ] a t c o m . a l i b a b a . d u b b o . r e g i s t r y . i n t e g r a t i o n . R e g i s t r y P r o t o c o l . e x p o r t ( R e g i s t r y P r o t o c o l . j a v a : 121 )   [ d u b b o − 2.6.0. j a r : 2.6.0 ] a t c o m . a l i b a b a . d u b b o . r p c . p r o t o c o l . P r o t o c o l F i l t e r W r a p p e r . e x p o r t ( P r o t o c o l F i l t e r W r a p p e r . j a v a : 91 )   [ d u b b o − 2.6.0. j a r : 2.6.0 ] a t c o m . a l i b a b a . d u b b o . r p c . p r o t o c o l . P r o t o c o l L i s t e n e r W r a p p e r . e x p o r t ( P r o t o c o l L i s t e n e r W r a p p e r . j a v a : 66 )   [ d u b b o − 2.6.0. j a r : 2.6.0 ] a t c o m . a l i b a b a . d u b b o . r p c . P r o t o c o l Adaptive.java) ~[dubbo-2.6.0.jar:2.6.0] at com.alibaba.dubbo.registry.integration.RegistryProtocol.doLocalExport(RegistryProtocol.java:181) ~[dubbo-2.6.0.jar:2.6.0] at com.alibaba.dubbo.registry.integration.RegistryProtocol.export(RegistryProtocol.java:121) ~[dubbo-2.6.0.jar:2.6.0] at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper.export(ProtocolFilterWrapper.java:91) ~[dubbo-2.6.0.jar:2.6.0] at com.alibaba.dubbo.rpc.protocol.ProtocolListenerWrapper.export(ProtocolListenerWrapper.java:66) ~[dubbo-2.6.0.jar:2.6.0] at com.alibaba.dubbo.rpc.Protocol Adaptive.java) [dubbo2.6.0.jar:2.6.0]atcom.alibaba.dubbo.registry.integration.RegistryProtocol.doLocalExport(RegistryProtocol.java:181) [dubbo2.6.0.jar:2.6.0]atcom.alibaba.dubbo.registry.integration.RegistryProtocol.export(RegistryProtocol.java:121) [dubbo2.6.0.jar:2.6.0]atcom.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper.export(ProtocolFilterWrapper.java:91) [dubbo2.6.0.jar:2.6.0]atcom.alibaba.dubbo.rpc.protocol.ProtocolListenerWrapper.export(ProtocolListenerWrapper.java:66) [dubbo2.6.0.jar:2.6.0]atcom.alibaba.dubbo.rpc.ProtocolAdaptive.export(Protocol A d a p t i v e . j a v a )   [ d u b b o − 2.6.0. j a r : 2.6.0 ] a t c o m . a l i b a b a . d u b b o . c o n f i g . S e r v i c e C o n f i g . d o E x p o r t U r l s F o r 1 P r o t o c o l ( S e r v i c e C o n f i g . j a v a : 505 )   [ d u b b o − 2.6.0. j a r : 2.6.0 ] a t c o m . a l i b a b a . d u b b o . c o n f i g . S e r v i c e C o n f i g . d o E x p o r t U r l s ( S e r v i c e C o n f i g . j a v a : 357 )   [ d u b b o − 2.6.0. j a r : 2.6.0 ] a t c o m . a l i b a b a . d u b b o . c o n f i g . S e r v i c e C o n f i g . d o E x p o r t ( S e r v i c e C o n f i g . j a v a : 316 )   [ d u b b o − 2.6.0. j a r : 2.6.0 ] a t c o m . a l i b a b a . d u b b o . c o n f i g . S e r v i c e C o n f i g . e x p o r t ( S e r v i c e C o n f i g . j a v a : 215 )   [ d u b b o − 2.6.0. j a r : 2.6.0 ] a t c o m . a l i b a b a . d u b b o . s p r i n g . b o o t . D u b b o P r o v i d e r A u t o C o n f i g u r a t i o n . i n i t P r o v i d e r B e a n ( D u b b o P r o v i d e r A u t o C o n f i g u r a t i o n . j a v a : 84 )   [ d u b b o − s p r i n g − b o o t − s t a r t e r − 2.0.0. j a r : n a ] a t c o m . a l i b a b a . d u b b o . s p r i n g . b o o t . D u b b o P r o v i d e r A u t o C o n f i g u r a t i o n . i n i t ( D u b b o P r o v i d e r A u t o C o n f i g u r a t i o n . j a v a : 45 )   [ d u b b o − s p r i n g − b o o t − s t a r t e r − 2.0.0. j a r : n a ] a t s u n . r e f l e c t . N a t i v e M e t h o d A c c e s s o r I m p l . i n v o k e 0 ( N a t i v e M e t h o d )   [ n a : 1.8. 0 2 21 ] a t s u n . r e f l e c t . N a t i v e M e t h o d A c c e s s o r I m p l . i n v o k e ( N a t i v e M e t h o d A c c e s s o r I m p l . j a v a : 62 )   [ n a : 1.8. 0 2 21 ] a t s u n . r e f l e c t . D e l e g a t i n g M e t h o d A c c e s s o r I m p l . i n v o k e ( D e l e g a t i n g M e t h o d A c c e s s o r I m p l . j a v a : 43 )   [ n a : 1.8. 0 2 21 ] a t j a v a . l a n g . r e f l e c t . M e t h o d . i n v o k e ( M e t h o d . j a v a : 498 )   [ n a : 1.8. 0 2 21 ] 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 . a n n o t a t i o n . I n i t D e s t r o y A n n o t a t i o n B e a n P o s t P r o c e s s o r Adaptive.java) ~[dubbo-2.6.0.jar:2.6.0] at com.alibaba.dubbo.config.ServiceConfig.doExportUrlsFor1Protocol(ServiceConfig.java:505) ~[dubbo-2.6.0.jar:2.6.0] at com.alibaba.dubbo.config.ServiceConfig.doExportUrls(ServiceConfig.java:357) ~[dubbo-2.6.0.jar:2.6.0] at com.alibaba.dubbo.config.ServiceConfig.doExport(ServiceConfig.java:316) ~[dubbo-2.6.0.jar:2.6.0] at com.alibaba.dubbo.config.ServiceConfig.export(ServiceConfig.java:215) ~[dubbo-2.6.0.jar:2.6.0] at com.alibaba.dubbo.spring.boot.DubboProviderAutoConfiguration.initProviderBean(DubboProviderAutoConfiguration.java:84) ~[dubbo-spring-boot-starter-2.0.0.jar:na] at com.alibaba.dubbo.spring.boot.DubboProviderAutoConfiguration.init(DubboProviderAutoConfiguration.java:45) ~[dubbo-spring-boot-starter-2.0.0.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_221] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_221] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_221] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_221] at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor Adaptive.java) [dubbo2.6.0.jar:2.6.0]atcom.alibaba.dubbo.config.ServiceConfig.doExportUrlsFor1Protocol(ServiceConfig.java:505) [dubbo2.6.0.jar:2.6.0]atcom.alibaba.dubbo.config.ServiceConfig.doExportUrls(ServiceConfig.java:357) [dubbo2.6.0.jar:2.6.0]atcom.alibaba.dubbo.config.ServiceConfig.doExport(ServiceConfig.java:316) [dubbo2.6.0.jar:2.6.0]atcom.alibaba.dubbo.config.ServiceConfig.export(ServiceConfig.java:215) [dubbo2.6.0.jar:2.6.0]atcom.alibaba.dubbo.spring.boot.DubboProviderAutoConfiguration.initProviderBean(DubboProviderAutoConfiguration.java:84) [dubbospringbootstarter2.0.0.jar:na]atcom.alibaba.dubbo.spring.boot.DubboProviderAutoConfiguration.init(DubboProviderAutoConfiguration.java:45) [dubbospringbootstarter2.0.0.jar:na]atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod) [na:1.8.0221]atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [na:1.8.0221]atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [na:1.8.0221]atjava.lang.reflect.Method.invoke(Method.java:498) [na:1.8.0221]atorg.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessorLifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:363) ~[spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor L i f e c y c l e M e t a d a t a . i n v o k e I n i t M e t h o d s ( I n i t D e s t r o y A n n o t a t i o n B e a n P o s t P r o c e s s o r . j a v a : 307 )   [ s p r i n g − b e a n s − 5.1.8. R E L E A S E . j a r : 5.1.8. R E L E A S E ] 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 . a n n o t a t i o n . I n i t D e s t r o y A n n o t a t i o n B e a n P o s t P r o c e s s o r . p o s t P r o c e s s B e f o r e I n i t i a l i z a t i o n ( I n i t D e s t r o y A n n o t a t i o n B e a n P o s t P r o c e s s o r . j a v a : 136 )   [ s p r i n g − b e a n s − 5.1.8. R E L E A S E . j a r : 5.1.8. R E L E A S E ] . . . 23 c o m m o n f r a m e s o m i t t e d C a u s e d b y : c o m . a l i b a b a . d u b b o . r e m o t i n g . R e m o t i n g E x c e p t i o n : F a i l e d t o b i n d N e t t y S e r v e r o n / 192.168.211.1 : 20880 , c a u s e : F a i l e d t o b i n d t o : / 0.0.0.0 : 20880 a t c o m . a l i b a b a . d u b b o . r e m o t i n g . t r a n s p o r t . A b s t r a c t S e r v e r . < i n i t > ( A b s t r a c t S e r v e r . j a v a : 68 )   [ d u b b o − 2.6.0. j a r : 2.6.0 ] a t c o m . a l i b a b a . d u b b o . r e m o t i n g . t r a n s p o r t . n e t t y . N e t t y S e r v e r . < i n i t > ( N e t t y S e r v e r . j a v a : 61 )   [ d u b b o − 2.6.0. j a r : 2.6.0 ] a t c o m . a l i b a b a . d u b b o . r e m o t i n g . t r a n s p o r t . n e t t y . N e t t y T r a n s p o r t e r . b i n d ( N e t t y T r a n s p o r t e r . j a v a : 31 )   [ d u b b o − 2.6.0. j a r : 2.6.0 ] a t c o m . a l i b a b a . d u b b o . r e m o t i n g . T r a n s p o r t e r LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:307) ~[spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136) ~[spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE] ... 23 common frames omitted Caused by: com.alibaba.dubbo.remoting.RemotingException: Failed to bind NettyServer on /192.168.211.1:20880, cause: Failed to bind to: /0.0.0.0:20880 at com.alibaba.dubbo.remoting.transport.AbstractServer.<init>(AbstractServer.java:68) ~[dubbo-2.6.0.jar:2.6.0] at com.alibaba.dubbo.remoting.transport.netty.NettyServer.<init>(NettyServer.java:61) ~[dubbo-2.6.0.jar:2.6.0] at com.alibaba.dubbo.remoting.transport.netty.NettyTransporter.bind(NettyTransporter.java:31) ~[dubbo-2.6.0.jar:2.6.0] at com.alibaba.dubbo.remoting.Transporter LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:307) [springbeans5.1.8.RELEASE.jar:5.1.8.RELEASE]atorg.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136) [springbeans5.1.8.RELEASE.jar:5.1.8.RELEASE]...23commonframesomittedCausedby:com.alibaba.dubbo.remoting.RemotingException:FailedtobindNettyServeron/192.168.211.1:20880,cause:Failedtobindto:/0.0.0.0:20880atcom.alibaba.dubbo.remoting.transport.AbstractServer.<init>(AbstractServer.java:68) [dubbo2.6.0.jar:2.6.0]atcom.alibaba.dubbo.remoting.transport.netty.NettyServer.<init>(NettyServer.java:61) [dubbo2.6.0.jar:2.6.0]atcom.alibaba.dubbo.remoting.transport.netty.NettyTransporter.bind(NettyTransporter.java:31) [dubbo2.6.0.jar:2.6.0]atcom.alibaba.dubbo.remoting.TransporterAdaptive.bind(Transporter A d a p t i v e . j a v a )   [ d u b b o − 2.6.0. j a r : 2.6.0 ] a t c o m . a l i b a b a . d u b b o . r e m o t i n g . T r a n s p o r t e r s . b i n d ( T r a n s p o r t e r s . j a v a : 56 )   [ d u b b o − 2.6.0. j a r : 2.6.0 ] a t c o m . a l i b a b a . d u b b o . r e m o t i n g . e x c h a n g e . s u p p o r t . h e a d e r . H e a d e r E x c h a n g e r . b i n d ( H e a d e r E x c h a n g e r . j a v a : 42 )   [ d u b b o − 2.6.0. j a r : 2.6.0 ] a t c o m . a l i b a b a . d u b b o . r e m o t i n g . e x c h a n g e . E x c h a n g e r s . b i n d ( E x c h a n g e r s . j a v a : 70 )   [ d u b b o − 2.6.0. j a r : 2.6.0 ] a t c o m . a l i b a b a . d u b b o . r p c . p r o t o c o l . d u b b o . D u b b o P r o t o c o l . c r e a t e S e r v e r ( D u b b o P r o t o c o l . j a v a : 275 )   [ d u b b o − 2.6.0. j a r : 2.6.0 ] . . . 46 c o m m o n f r a m e s o m i t t e d C a u s e d b y : o r g . j b o s s . n e t t y . c h a n n e l . C h a n n e l E x c e p t i o n : F a i l e d t o b i n d t o : / 0.0.0.0 : 20880 a t o r g . j b o s s . n e t t y . b o o t s t r a p . S e r v e r B o o t s t r a p . b i n d ( S e r v e r B o o t s t r a p . j a v a : 272 )   [ n e t t y − 3.7.0. F i n a l . j a r : n a ] a t c o m . a l i b a b a . d u b b o . r e m o t i n g . t r a n s p o r t . n e t t y . N e t t y S e r v e r . d o O p e n ( N e t t y S e r v e r . j a v a : 92 )   [ d u b b o − 2.6.0. j a r : 2.6.0 ] a t c o m . a l i b a b a . d u b b o . r e m o t i n g . t r a n s p o r t . A b s t r a c t S e r v e r . < i n i t > ( A b s t r a c t S e r v e r . j a v a : 63 )   [ d u b b o − 2.6.0. j a r : 2.6.0 ] . . . 53 c o m m o n f r a m e s o m i t t e d C a u s e d b y : j a v a . n e t . B i n d E x c e p t i o n : A d d r e s s a l r e a d y i n u s e : b i n d a t s u n . n i o . c h . N e t . b i n d 0 ( N a t i v e M e t h o d )   [ n a : 1.8. 0 2 21 ] a t s u n . n i o . c h . N e t . b i n d ( N e t . j a v a : 433 )   [ n a : 1.8. 0 2 21 ] a t s u n . n i o . c h . N e t . b i n d ( N e t . j a v a : 425 )   [ n a : 1.8. 0 2 21 ] a t s u n . n i o . c h . S e r v e r S o c k e t C h a n n e l I m p l . b i n d ( S e r v e r S o c k e t C h a n n e l I m p l . j a v a : 223 )   [ n a : 1.8. 0 2 21 ] a t s u n . n i o . c h . S e r v e r S o c k e t A d a p t o r . b i n d ( S e r v e r S o c k e t A d a p t o r . j a v a : 74 )   [ n a : 1.8. 0 2 21 ] a t o r g . j b o s s . n e t t y . c h a n n e l . s o c k e t . n i o . N i o S e r v e r B o s s Adaptive.java) ~[dubbo-2.6.0.jar:2.6.0] at com.alibaba.dubbo.remoting.Transporters.bind(Transporters.java:56) ~[dubbo-2.6.0.jar:2.6.0] at com.alibaba.dubbo.remoting.exchange.support.header.HeaderExchanger.bind(HeaderExchanger.java:42) ~[dubbo-2.6.0.jar:2.6.0] at com.alibaba.dubbo.remoting.exchange.Exchangers.bind(Exchangers.java:70) ~[dubbo-2.6.0.jar:2.6.0] at com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol.createServer(DubboProtocol.java:275) ~[dubbo-2.6.0.jar:2.6.0] ... 46 common frames omitted Caused by: org.jboss.netty.channel.ChannelException: Failed to bind to: /0.0.0.0:20880 at org.jboss.netty.bootstrap.ServerBootstrap.bind(ServerBootstrap.java:272) ~[netty-3.7.0.Final.jar:na] at com.alibaba.dubbo.remoting.transport.netty.NettyServer.doOpen(NettyServer.java:92) ~[dubbo-2.6.0.jar:2.6.0] at com.alibaba.dubbo.remoting.transport.AbstractServer.<init>(AbstractServer.java:63) ~[dubbo-2.6.0.jar:2.6.0] ... 53 common frames omitted Caused by: java.net.BindException: Address already in use: bind at sun.nio.ch.Net.bind0(Native Method) ~[na:1.8.0_221] at sun.nio.ch.Net.bind(Net.java:433) ~[na:1.8.0_221] at sun.nio.ch.Net.bind(Net.java:425) ~[na:1.8.0_221] at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) ~[na:1.8.0_221] at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) ~[na:1.8.0_221] at org.jboss.netty.channel.socket.nio.NioServerBoss Adaptive.java) [dubbo2.6.0.jar:2.6.0]atcom.alibaba.dubbo.remoting.Transporters.bind(Transporters.java:56) [dubbo2.6.0.jar:2.6.0]atcom.alibaba.dubbo.remoting.exchange.support.header.HeaderExchanger.bind(HeaderExchanger.java:42) [dubbo2.6.0.jar:2.6.0]atcom.alibaba.dubbo.remoting.exchange.Exchangers.bind(Exchangers.java:70) [dubbo2.6.0.jar:2.6.0]atcom.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol.createServer(DubboProtocol.java:275) [dubbo2.6.0.jar:2.6.0]...46commonframesomittedCausedby:org.jboss.netty.channel.ChannelException:Failedtobindto:/0.0.0.0:20880atorg.jboss.netty.bootstrap.ServerBootstrap.bind(ServerBootstrap.java:272) [netty3.7.0.Final.jar:na]atcom.alibaba.dubbo.remoting.transport.netty.NettyServer.doOpen(NettyServer.java:92) [dubbo2.6.0.jar:2.6.0]atcom.alibaba.dubbo.remoting.transport.AbstractServer.<init>(AbstractServer.java:63) [dubbo2.6.0.jar:2.6.0]...53commonframesomittedCausedby:java.net.BindException:Addressalreadyinuse:bindatsun.nio.ch.Net.bind0(NativeMethod) [na:1.8.0221]atsun.nio.ch.Net.bind(Net.java:433) [na:1.8.0221]atsun.nio.ch.Net.bind(Net.java:425) [na:1.8.0221]atsun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) [na:1.8.0221]atsun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) [na:1.8.0221]atorg.jboss.netty.channel.socket.nio.NioServerBossRegisterTask.run(NioServerBoss.java:193) ~[netty-3.7.0.Final.jar:na]
at org.jboss.netty.channel.socket.nio.AbstractNioSelector.processTaskQueue(AbstractNioSelector.java:366) ~[netty-3.7.0.Final.jar:na]
at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:290) ~[netty-3.7.0.Final.jar:na]
at org.jboss.netty.channel.socket.nio.NioServerBoss.run(NioServerBoss.java:42) ~[netty-3.7.0.Final.jar:na]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_221]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_221]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_221]

链接: link.

图片: ![Alt](https://imgconvert.csdnimg.cn/aHR0Error starting ApplicationContext. To display the conditions report re-run your application with ‘debug’ enabled.
2020-03-20 10:41:46.186 ERROR 14376 — [ restartedMain] o.s.boot.SpringApplication : Application run failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘com.alibaba.dubbo.spring.boot.DubboProviderAutoConfiguration’: Invocation of init method failed; nested exception is com.alibaba.dubbo.rpc.RpcException: Fail to start server(url: dubbo://192.168.211.1:20880/com.ddbuy.service.TestHello?anyhost=true&application=ddbuy_manager_web&bind.ip=192.168.211.1&bind.port=20880&channel.readonly.sent=true&codec=dubbo&dubbo=2.6.0&generic=false&heartbeat=60000&interface=com.ddbuy.service.TestHello&methods=getHw&pid=14376&side=provider&timestamp=1584672106054) Failed to bind NettyServer on /192.168.211.1:20880, cause: Failed to bind to: /0.0.0.0:20880
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:139) ~[spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:414) ~[spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1770) ~[spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593) ~[spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515) ~[spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBeanKaTeX parse error: Expected 'EOF', got '&' at position 2655: …lo?anyhost=true&̲application=ddb…Adaptive.export(Protocol A d a p t i v e . j a v a )   [ d u b b o − 2.6.0. j a r : 2.6.0 ] a t c o m . a l i b a b a . d u b b o . r e g i s t r y . i n t e g r a t i o n . R e g i s t r y P r o t o c o l . d o L o c a l E x p o r t ( R e g i s t r y P r o t o c o l . j a v a : 181 )   [ d u b b o − 2.6.0. j a r : 2.6.0 ] a t c o m . a l i b a b a . d u b b o . r e g i s t r y . i n t e g r a t i o n . R e g i s t r y P r o t o c o l . e x p o r t ( R e g i s t r y P r o t o c o l . j a v a : 121 )   [ d u b b o − 2.6.0. j a r : 2.6.0 ] a t c o m . a l i b a b a . d u b b o . r p c . p r o t o c o l . P r o t o c o l F i l t e r W r a p p e r . e x p o r t ( P r o t o c o l F i l t e r W r a p p e r . j a v a : 91 )   [ d u b b o − 2.6.0. j a r : 2.6.0 ] a t c o m . a l i b a b a . d u b b o . r p c . p r o t o c o l . P r o t o c o l L i s t e n e r W r a p p e r . e x p o r t ( P r o t o c o l L i s t e n e r W r a p p e r . j a v a : 66 )   [ d u b b o − 2.6.0. j a r : 2.6.0 ] a t c o m . a l i b a b a . d u b b o . r p c . P r o t o c o l Adaptive.java) ~[dubbo-2.6.0.jar:2.6.0] at com.alibaba.dubbo.registry.integration.RegistryProtocol.doLocalExport(RegistryProtocol.java:181) ~[dubbo-2.6.0.jar:2.6.0] at com.alibaba.dubbo.registry.integration.RegistryProtocol.export(RegistryProtocol.java:121) ~[dubbo-2.6.0.jar:2.6.0] at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper.export(ProtocolFilterWrapper.java:91) ~[dubbo-2.6.0.jar:2.6.0] at com.alibaba.dubbo.rpc.protocol.ProtocolListenerWrapper.export(ProtocolListenerWrapper.java:66) ~[dubbo-2.6.0.jar:2.6.0] at com.alibaba.dubbo.rpc.Protocol Adaptive.java) [dubbo2.6.0.jar:2.6.0]atcom.alibaba.dubbo.registry.integration.RegistryProtocol.doLocalExport(RegistryProtocol.java:181) [dubbo2.6.0.jar:2.6.0]atcom.alibaba.dubbo.registry.integration.RegistryProtocol.export(RegistryProtocol.java:121) [dubbo2.6.0.jar:2.6.0]atcom.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper.export(ProtocolFilterWrapper.java:91) [dubbo2.6.0.jar:2.6.0]atcom.alibaba.dubbo.rpc.protocol.ProtocolListenerWrapper.export(ProtocolListenerWrapper.java:66) [dubbo2.6.0.jar:2.6.0]atcom.alibaba.dubbo.rpc.ProtocolAdaptive.export(Protocol A d a p t i v e . j a v a )   [ d u b b o − 2.6.0. j a r : 2.6.0 ] a t c o m . a l i b a b a . d u b b o . c o n f i g . S e r v i c e C o n f i g . d o E x p o r t U r l s F o r 1 P r o t o c o l ( S e r v i c e C o n f i g . j a v a : 505 )   [ d u b b o − 2.6.0. j a r : 2.6.0 ] a t c o m . a l i b a b a . d u b b o . c o n f i g . S e r v i c e C o n f i g . d o E x p o r t U r l s ( S e r v i c e C o n f i g . j a v a : 357 )   [ d u b b o − 2.6.0. j a r : 2.6.0 ] a t c o m . a l i b a b a . d u b b o . c o n f i g . S e r v i c e C o n f i g . d o E x p o r t ( S e r v i c e C o n f i g . j a v a : 316 )   [ d u b b o − 2.6.0. j a r : 2.6.0 ] a t c o m . a l i b a b a . d u b b o . c o n f i g . S e r v i c e C o n f i g . e x p o r t ( S e r v i c e C o n f i g . j a v a : 215 )   [ d u b b o − 2.6.0. j a r : 2.6.0 ] a t c o m . a l i b a b a . d u b b o . s p r i n g . b o o t . D u b b o P r o v i d e r A u t o C o n f i g u r a t i o n . i n i t P r o v i d e r B e a n ( D u b b o P r o v i d e r A u t o C o n f i g u r a t i o n . j a v a : 84 )   [ d u b b o − s p r i n g − b o o t − s t a r t e r − 2.0.0. j a r : n a ] a t c o m . a l i b a b a . d u b b o . s p r i n g . b o o t . D u b b o P r o v i d e r A u t o C o n f i g u r a t i o n . i n i t ( D u b b o P r o v i d e r A u t o C o n f i g u r a t i o n . j a v a : 45 )   [ d u b b o − s p r i n g − b o o t − s t a r t e r − 2.0.0. j a r : n a ] a t s u n . r e f l e c t . N a t i v e M e t h o d A c c e s s o r I m p l . i n v o k e 0 ( N a t i v e M e t h o d )   [ n a : 1.8. 0 2 21 ] a t s u n . r e f l e c t . N a t i v e M e t h o d A c c e s s o r I m p l . i n v o k e ( N a t i v e M e t h o d A c c e s s o r I m p l . j a v a : 62 )   [ n a : 1.8. 0 2 21 ] a t s u n . r e f l e c t . D e l e g a t i n g M e t h o d A c c e s s o r I m p l . i n v o k e ( D e l e g a t i n g M e t h o d A c c e s s o r I m p l . j a v a : 43 )   [ n a : 1.8. 0 2 21 ] a t j a v a . l a n g . r e f l e c t . M e t h o d . i n v o k e ( M e t h o d . j a v a : 498 )   [ n a : 1.8. 0 2 21 ] 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 . a n n o t a t i o n . I n i t D e s t r o y A n n o t a t i o n B e a n P o s t P r o c e s s o r Adaptive.java) ~[dubbo-2.6.0.jar:2.6.0] at com.alibaba.dubbo.config.ServiceConfig.doExportUrlsFor1Protocol(ServiceConfig.java:505) ~[dubbo-2.6.0.jar:2.6.0] at com.alibaba.dubbo.config.ServiceConfig.doExportUrls(ServiceConfig.java:357) ~[dubbo-2.6.0.jar:2.6.0] at com.alibaba.dubbo.config.ServiceConfig.doExport(ServiceConfig.java:316) ~[dubbo-2.6.0.jar:2.6.0] at com.alibaba.dubbo.config.ServiceConfig.export(ServiceConfig.java:215) ~[dubbo-2.6.0.jar:2.6.0] at com.alibaba.dubbo.spring.boot.DubboProviderAutoConfiguration.initProviderBean(DubboProviderAutoConfiguration.java:84) ~[dubbo-spring-boot-starter-2.0.0.jar:na] at com.alibaba.dubbo.spring.boot.DubboProviderAutoConfiguration.init(DubboProviderAutoConfiguration.java:45) ~[dubbo-spring-boot-starter-2.0.0.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_221] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_221] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_221] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_221] at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor Adaptive.java) [dubbo2.6.0.jar:2.6.0]atcom.alibaba.dubbo.config.ServiceConfig.doExportUrlsFor1Protocol(ServiceConfig.java:505) [dubbo2.6.0.jar:2.6.0]atcom.alibaba.dubbo.config.ServiceConfig.doExportUrls(ServiceConfig.java:357) [dubbo2.6.0.jar:2.6.0]atcom.alibaba.dubbo.config.ServiceConfig.doExport(ServiceConfig.java:316) [dubbo2.6.0.jar:2.6.0]atcom.alibaba.dubbo.config.ServiceConfig.export(ServiceConfig.java:215) [dubbo2.6.0.jar:2.6.0]atcom.alibaba.dubbo.spring.boot.DubboProviderAutoConfiguration.initProviderBean(DubboProviderAutoConfiguration.java:84) [dubbospringbootstarter2.0.0.jar:na]atcom.alibaba.dubbo.spring.boot.DubboProviderAutoConfiguration.init(DubboProviderAutoConfiguration.java:45) [dubbospringbootstarter2.0.0.jar:na]atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod) [na:1.8.0221]atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [na:1.8.0221]atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [na:1.8.0221]atjava.lang.reflect.Method.invoke(Method.java:498) [na:1.8.0221]atorg.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessorLifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:363) ~[spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor L i f e c y c l e M e t a d a t a . i n v o k e I n i t M e t h o d s ( I n i t D e s t r o y A n n o t a t i o n B e a n P o s t P r o c e s s o r . j a v a : 307 )   [ s p r i n g − b e a n s − 5.1.8. R E L E A S E . j a r : 5.1.8. R E L E A S E ] 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 . a n n o t a t i o n . I n i t D e s t r o y A n n o t a t i o n B e a n P o s t P r o c e s s o r . p o s t P r o c e s s B e f o r e I n i t i a l i z a t i o n ( I n i t D e s t r o y A n n o t a t i o n B e a n P o s t P r o c e s s o r . j a v a : 136 )   [ s p r i n g − b e a n s − 5.1.8. R E L E A S E . j a r : 5.1.8. R E L E A S E ] . . . 23 c o m m o n f r a m e s o m i t t e d C a u s e d b y : c o m . a l i b a b a . d u b b o . r e m o t i n g . R e m o t i n g E x c e p t i o n : F a i l e d t o b i n d N e t t y S e r v e r o n / 192.168.211.1 : 20880 , c a u s e : F a i l e d t o b i n d t o : / 0.0.0.0 : 20880 a t c o m . a l i b a b a . d u b b o . r e m o t i n g . t r a n s p o r t . A b s t r a c t S e r v e r . < i n i t > ( A b s t r a c t S e r v e r . j a v a : 68 )   [ d u b b o − 2.6.0. j a r : 2.6.0 ] a t c o m . a l i b a b a . d u b b o . r e m o t i n g . t r a n s p o r t . n e t t y . N e t t y S e r v e r . < i n i t > ( N e t t y S e r v e r . j a v a : 61 )   [ d u b b o − 2.6.0. j a r : 2.6.0 ] a t c o m . a l i b a b a . d u b b o . r e m o t i n g . t r a n s p o r t . n e t t y . N e t t y T r a n s p o r t e r . b i n d ( N e t t y T r a n s p o r t e r . j a v a : 31 )   [ d u b b o − 2.6.0. j a r : 2.6.0 ] a t c o m . a l i b a b a . d u b b o . r e m o t i n g . T r a n s p o r t e r LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:307) ~[spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE] at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136) ~[spring-beans-5.1.8.RELEASE.jar:5.1.8.RELEASE] ... 23 common frames omitted Caused by: com.alibaba.dubbo.remoting.RemotingException: Failed to bind NettyServer on /192.168.211.1:20880, cause: Failed to bind to: /0.0.0.0:20880 at com.alibaba.dubbo.remoting.transport.AbstractServer.<init>(AbstractServer.java:68) ~[dubbo-2.6.0.jar:2.6.0] at com.alibaba.dubbo.remoting.transport.netty.NettyServer.<init>(NettyServer.java:61) ~[dubbo-2.6.0.jar:2.6.0] at com.alibaba.dubbo.remoting.transport.netty.NettyTransporter.bind(NettyTransporter.java:31) ~[dubbo-2.6.0.jar:2.6.0] at com.alibaba.dubbo.remoting.Transporter LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:307) [springbeans5.1.8.RELEASE.jar:5.1.8.RELEASE]atorg.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136) [springbeans5.1.8.RELEASE.jar:5.1.8.RELEASE]...23commonframesomittedCausedby:com.alibaba.dubbo.remoting.RemotingException:FailedtobindNettyServeron/192.168.211.1:20880,cause:Failedtobindto:/0.0.0.0:20880atcom.alibaba.dubbo.remoting.transport.AbstractServer.<init>(AbstractServer.java:68) [dubbo2.6.0.jar:2.6.0]atcom.alibaba.dubbo.remoting.transport.netty.NettyServer.<init>(NettyServer.java:61) [dubbo2.6.0.jar:2.6.0]atcom.alibaba.dubbo.remoting.transport.netty.NettyTransporter.bind(NettyTransporter.java:31) [dubbo2.6.0.jar:2.6.0]atcom.alibaba.dubbo.remoting.TransporterAdaptive.bind(Transporter A d a p t i v e . j a v a )   [ d u b b o − 2.6.0. j a r : 2.6.0 ] a t c o m . a l i b a b a . d u b b o . r e m o t i n g . T r a n s p o r t e r s . b i n d ( T r a n s p o r t e r s . j a v a : 56 )   [ d u b b o − 2.6.0. j a r : 2.6.0 ] a t c o m . a l i b a b a . d u b b o . r e m o t i n g . e x c h a n g e . s u p p o r t . h e a d e r . H e a d e r E x c h a n g e r . b i n d ( H e a d e r E x c h a n g e r . j a v a : 42 )   [ d u b b o − 2.6.0. j a r : 2.6.0 ] a t c o m . a l i b a b a . d u b b o . r e m o t i n g . e x c h a n g e . E x c h a n g e r s . b i n d ( E x c h a n g e r s . j a v a : 70 )   [ d u b b o − 2.6.0. j a r : 2.6.0 ] a t c o m . a l i b a b a . d u b b o . r p c . p r o t o c o l . d u b b o . D u b b o P r o t o c o l . c r e a t e S e r v e r ( D u b b o P r o t o c o l . j a v a : 275 )   [ d u b b o − 2.6.0. j a r : 2.6.0 ] . . . 46 c o m m o n f r a m e s o m i t t e d C a u s e d b y : o r g . j b o s s . n e t t y . c h a n n e l . C h a n n e l E x c e p t i o n : F a i l e d t o b i n d t o : / 0.0.0.0 : 20880 a t o r g . j b o s s . n e t t y . b o o t s t r a p . S e r v e r B o o t s t r a p . b i n d ( S e r v e r B o o t s t r a p . j a v a : 272 )   [ n e t t y − 3.7.0. F i n a l . j a r : n a ] a t c o m . a l i b a b a . d u b b o . r e m o t i n g . t r a n s p o r t . n e t t y . N e t t y S e r v e r . d o O p e n ( N e t t y S e r v e r . j a v a : 92 )   [ d u b b o − 2.6.0. j a r : 2.6.0 ] a t c o m . a l i b a b a . d u b b o . r e m o t i n g . t r a n s p o r t . A b s t r a c t S e r v e r . < i n i t > ( A b s t r a c t S e r v e r . j a v a : 63 )   [ d u b b o − 2.6.0. j a r : 2.6.0 ] . . . 53 c o m m o n f r a m e s o m i t t e d C a u s e d b y : j a v a . n e t . B i n d E x c e p t i o n : A d d r e s s a l r e a d y i n u s e : b i n d a t s u n . n i o . c h . N e t . b i n d 0 ( N a t i v e M e t h o d )   [ n a : 1.8. 0 2 21 ] a t s u n . n i o . c h . N e t . b i n d ( N e t . j a v a : 433 )   [ n a : 1.8. 0 2 21 ] a t s u n . n i o . c h . N e t . b i n d ( N e t . j a v a : 425 )   [ n a : 1.8. 0 2 21 ] a t s u n . n i o . c h . S e r v e r S o c k e t C h a n n e l I m p l . b i n d ( S e r v e r S o c k e t C h a n n e l I m p l . j a v a : 223 )   [ n a : 1.8. 0 2 21 ] a t s u n . n i o . c h . S e r v e r S o c k e t A d a p t o r . b i n d ( S e r v e r S o c k e t A d a p t o r . j a v a : 74 )   [ n a : 1.8. 0 2 21 ] a t o r g . j b o s s . n e t t y . c h a n n e l . s o c k e t . n i o . N i o S e r v e r B o s s Adaptive.java) ~[dubbo-2.6.0.jar:2.6.0] at com.alibaba.dubbo.remoting.Transporters.bind(Transporters.java:56) ~[dubbo-2.6.0.jar:2.6.0] at com.alibaba.dubbo.remoting.exchange.support.header.HeaderExchanger.bind(HeaderExchanger.java:42) ~[dubbo-2.6.0.jar:2.6.0] at com.alibaba.dubbo.remoting.exchange.Exchangers.bind(Exchangers.java:70) ~[dubbo-2.6.0.jar:2.6.0] at com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol.createServer(DubboProtocol.java:275) ~[dubbo-2.6.0.jar:2.6.0] ... 46 common frames omitted Caused by: org.jboss.netty.channel.ChannelException: Failed to bind to: /0.0.0.0:20880 at org.jboss.netty.bootstrap.ServerBootstrap.bind(ServerBootstrap.java:272) ~[netty-3.7.0.Final.jar:na] at com.alibaba.dubbo.remoting.transport.netty.NettyServer.doOpen(NettyServer.java:92) ~[dubbo-2.6.0.jar:2.6.0] at com.alibaba.dubbo.remoting.transport.AbstractServer.<init>(AbstractServer.java:63) ~[dubbo-2.6.0.jar:2.6.0] ... 53 common frames omitted Caused by: java.net.BindException: Address already in use: bind at sun.nio.ch.Net.bind0(Native Method) ~[na:1.8.0_221] at sun.nio.ch.Net.bind(Net.java:433) ~[na:1.8.0_221] at sun.nio.ch.Net.bind(Net.java:425) ~[na:1.8.0_221] at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) ~[na:1.8.0_221] at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) ~[na:1.8.0_221] at org.jboss.netty.channel.socket.nio.NioServerBoss Adaptive.java) [dubbo2.6.0.jar:2.6.0]atcom.alibaba.dubbo.remoting.Transporters.bind(Transporters.java:56) [dubbo2.6.0.jar:2.6.0]atcom.alibaba.dubbo.remoting.exchange.support.header.HeaderExchanger.bind(HeaderExchanger.java:42) [dubbo2.6.0.jar:2.6.0]atcom.alibaba.dubbo.remoting.exchange.Exchangers.bind(Exchangers.java:70) [dubbo2.6.0.jar:2.6.0]atcom.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol.createServer(DubboProtocol.java:275) [dubbo2.6.0.jar:2.6.0]...46commonframesomittedCausedby:org.jboss.netty.channel.ChannelException:Failedtobindto:/0.0.0.0:20880atorg.jboss.netty.bootstrap.ServerBootstrap.bind(ServerBootstrap.java:272) [netty3.7.0.Final.jar:na]atcom.alibaba.dubbo.remoting.transport.netty.NettyServer.doOpen(NettyServer.java:92) [dubbo2.6.0.jar:2.6.0]atcom.alibaba.dubbo.remoting.transport.AbstractServer.<init>(AbstractServer.java:63) [dubbo2.6.0.jar:2.6.0]...53commonframesomittedCausedby:java.net.BindException:Addressalreadyinuse:bindatsun.nio.ch.Net.bind0(NativeMethod) [na:1.8.0221]atsun.nio.ch.Net.bind(Net.java:433) [na:1.8.0221]atsun.nio.ch.Net.bind(Net.java:425) [na:1.8.0221]atsun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) [na:1.8.0221]atsun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) [na:1.8.0221]atorg.jboss.netty.channel.socket.nio.NioServerBossRegisterTask.run(NioServerBoss.java:193) ~[netty-3.7.0.Final.jar:na]
at org.jboss.netty.channel.socket.nio.AbstractNioSelector.processTaskQueue(AbstractNioSelector.java:366) ~[netty-3.7.0.Final.jar:na]
at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:290) ~[netty-3.7.0.Final.jar:na]
at org.jboss.netty.channel.socket.nio.NioServerBoss.run(NioServerBoss.java:42) ~[netty-3.7.0.Final.jar:na]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_221]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_221]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_221]

cHM6Ly9hdmF0YXIuY3Nkbi5uZXQvNy83L0IvMV9yYWxmX2h4MTYzY29tLmpwZw)

带尺寸的图片: Alt

居中的图片: Alt

居中并且带尺寸的图片: Alt

当然,我们为了让用户更加便捷,我们增加了图片拖拽功能。

如何插入一段漂亮的代码片

博客设置页面,选择一款你喜欢的代码片高亮样式,下面展示同样高亮的 代码片.

// An highlighted block
var foo = 'bar';

生成一个适合你的列表

  • 项目
    • 项目
      • 项目
  1. 项目1
  2. 项目2
  3. 项目3
  • 计划任务
  • 完成任务

创建一个表格

一个简单的表格是这么创建的:

项目Value
电脑$1600
手机$12
导管$1

设定内容居中、居左、居右

使用:---------:居中
使用:----------居左
使用----------:居右

第一列第二列第三列
第一列文本居中第二列文本居右第三列文本居左

SmartyPants

SmartyPants将ASCII标点字符转换为“智能”印刷标点HTML实体。例如:

TYPEASCIIHTML
Single backticks'Isn't this fun?'‘Isn’t this fun?’
Quotes"Isn't this fun?"“Isn’t this fun?”
Dashes-- is en-dash, --- is em-dash– is en-dash, — is em-dash

创建一个自定义列表

Markdown
Text-to- HTML conversion tool
Authors
John
Luke

如何创建一个注脚

一个具有注脚的文本。1

注释也是必不可少的

Markdown将文本转换为 HTML

KaTeX数学公式

您可以使用渲染LaTeX数学表达式 KaTeX:

Gamma公式展示 Γ ( n ) = ( n − 1 ) ! ∀ n ∈ N \Gamma(n) = (n-1)!\quad\forall n\in\mathbb N Γ(n)=(n1)!nN 是通过欧拉积分

Γ ( z ) = ∫ 0 ∞ t z − 1 e − t d t   . \Gamma(z) = \int_0^\infty t^{z-1}e^{-t}dt\,. Γ(z)=0tz1etdt.

你可以找到更多关于的信息 LaTeX 数学表达式here.

新的甘特图功能,丰富你的文章

Mon 06 Mon 13 Mon 20 已完成 进行中 计划一 计划二 现有任务 Adding GANTT diagram functionality to mermaid
  • 关于 甘特图 语法,参考 这儿,

UML 图表

可以使用UML图表进行渲染。 Mermaid. 例如下面产生的一个序列图:

张三 李四 王五 你好!李四, 最近怎么样? 你最近怎么样,王五? 我很好,谢谢! 我很好,谢谢! 李四想了很长时间, 文字太长了 不适合放在一行. 打量着王五... 很好... 王五, 你怎么样? 张三 李四 王五

这将产生一个流程图。:

链接
长方形
圆角长方形
菱形
  • 关于 Mermaid 语法,参考 这儿,

FLowchart流程图

我们依旧会支持flowchart的流程图:

Created with Raphaël 2.2.0 开始 我的操作 确认? 结束 yes no
  • 关于 Flowchart流程图 语法,参考 这儿.

导出与导入

导出

如果你想尝试使用此编辑器, 你可以在此篇文章任意编辑。当你完成了一篇文章的写作, 在上方工具栏找到 文章导出 ,生成一个.md文件或者.html文件进行本地保存。

导入

如果你想加载一篇你写过的.md文件,在上方工具栏可以选择导入功能进行对应扩展名的文件导入,
继续你的创作。


  1. 注脚的解释 ↩︎

  • 0
    点赞
  • 0
    评论
  • 0
    收藏
  • 一键三连
    一键三连
  • 扫一扫,分享海报

©️2021 CSDN 皮肤主题: 数字20 设计师:CSDN官方博客 返回首页
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值