biz工程从2.6.1升级到2.7.0报错

Blade 未结 1 1509
2363830288
2363830288 剑圣 2020-11-01 13:24

一、该问题的重现步骤是什么?

1.  biz工程从2.6.1升级到2.7.0  项目启动报错


二、你期待的结果是什么?实际看到的又是什么?


java.net.SocketException: socket closed
	at java.net.DualStackPlainDatagramSocketImpl.socketReceiveOrPeekData(Native Method)
	at java.net.DualStackPlainDatagramSocketImpl.receive0(DualStackPlainDatagramSocketImpl.java:124)
	at java.net.AbstractPlainDatagramSocketImpl.receive(AbstractPlainDatagramSocketImpl.java:143)
	at java.net.DatagramSocket.receive(DatagramSocket.java:812)
	at com.alibaba.nacos.client.naming.core.PushReceiver.run(PushReceiver.java:83)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:266)
	at java.util.concurrent.FutureTask.run(FutureTask.java)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

2020-11-01 13:21:11.092  INFO 8660 --- [           main] c.b.d.d.DynamicRoutingDataSource         : dynamic-datasource start closing ....
2020-11-01 13:21:11.098  INFO 8660 --- [           main] com.alibaba.druid.pool.DruidDataSource   : {dataSource-2} closing ...
2020-11-01 13:21:11.099  INFO 8660 --- [           main] com.alibaba.druid.pool.DruidDataSource   : {dataSource-2} closed
2020-11-01 13:21:11.099  INFO 8660 --- [           main] com.alibaba.druid.pool.DruidDataSource   : {dataSource-3} closing ...
2020-11-01 13:21:11.099  INFO 8660 --- [           main] com.alibaba.druid.pool.DruidDataSource   : {dataSource-3} closed
2020-11-01 13:21:11.099  INFO 8660 --- [           main] com.alibaba.druid.pool.DruidDataSource   : {dataSource-1} closing ...
2020-11-01 13:21:11.100  INFO 8660 --- [           main] com.alibaba.druid.pool.DruidDataSource   : {dataSource-1} closed
2020-11-01 13:21:11.101  INFO 8660 --- [           main] c.b.d.d.DynamicRoutingDataSource         : dynamic-datasource all closed success,bye
2020-11-01 13:21:11.102  INFO 8660 --- [           main] o.s.i.monitor.IntegrationMBeanExporter   : Summary on shutdown: bean 'errorChannel'
2020-11-01 13:21:11.102  INFO 8660 --- [           main] o.s.i.monitor.IntegrationMBeanExporter   : Summary on shutdown: bean 'inMemorySwaggerResourcesProvider-out-0'
2020-11-01 13:21:11.102  INFO 8660 --- [           main] o.s.i.monitor.IntegrationMBeanExporter   : Summary on shutdown: nullChannel
2020-11-01 13:21:11.102  INFO 8660 --- [           main] o.s.i.monitor.IntegrationMBeanExporter   : Summary on shutdown: bean 'inMemorySwaggerResourcesProvider_integrationflow.channel#0'
2020-11-01 13:21:11.102  INFO 8660 --- [           main] o.s.i.monitor.IntegrationMBeanExporter   : Summary on shutdown: bean '_org.springframework.integration.errorLogger.handler' for component '_org.springframework.integration.errorLogger'
2020-11-01 13:21:11.102  INFO 8660 --- [           main] o.s.i.monitor.IntegrationMBeanExporter   : Summary on shutdown: bean 'inMemorySwaggerResourcesProvider_integrationflow.router#0' for component 'inMemorySwaggerResourcesProvider_integrationflow.org.springframework.integration.config.ConsumerEndpointFactoryBean#0'
2020-11-01 13:21:11.102  INFO 8660 --- [           main] o.s.i.monitor.IntegrationMBeanExporter   : Summary on shutdown: org.springframework.integration.endpoint.MethodInvokingMessageSource@6deb2b19
2020-11-01 13:21:11.120  INFO 8660 --- [           main] ConditionEvaluationReportLoggingListener : 

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2020-11-01 13:21:11.131 ERROR 8660 --- [           main] o.s.boot.SpringApplication               : Application run failed

org.springframework.context.ApplicationContextException: Failed to start bean 'outputBindingLifecycle'; nested exception is java.lang.IllegalArgumentException: A default binder has been requested, but there is no binder available
	at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:185)
	at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:53)
	at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:360)
	at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:158)
	at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:122)
	at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:895)
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.finishRefresh(ServletWebServerApplicationContext.java:162)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:554)
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141)
	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:747)
	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:405)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
	at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:140)
	at org.springblade.core.launch.BladeApplication.run(BladeApplication.java:50)
	at com.lyycms.module.NovelApplication.main(NovelApplication.java:13)
Caused by: java.lang.IllegalArgumentException: A default binder has been requested, but there is no binder available
	at org.springframework.util.Assert.notEmpty(Assert.java:555)
	at org.springframework.cloud.stream.binder.DefaultBinderFactory.doGetBinder(DefaultBinderFactory.java:157)
	at org.springframework.cloud.stream.binder.DefaultBinderFactory.getBinder(DefaultBinderFactory.java:140)
	at org.springframework.cloud.stream.binding.BindingService.getBinder(BindingService.java:379)
	at org.springframework.cloud.stream.binding.BindingService.bindProducer(BindingService.java:268)
	at org.springframework.cloud.stream.binding.BindingService.bindProducer(BindingService.java:291)
	at org.springframework.cloud.stream.binding.AbstractBindableProxyFactory.createAndBindOutputs(AbstractBindableProxyFactory.java:136)
	at org.springframework.cloud.stream.binding.OutputBindingLifecycle.doStartWithBindable(OutputBindingLifecycle.java:58)
	at java.util.LinkedHashMap$LinkedValues.forEach(LinkedHashMap.java:608)
	at org.springframework.cloud.stream.binding.AbstractBindingLifecycle.start(AbstractBindingLifecycle.java:57)
	at org.springframework.cloud.stream.binding.OutputBindingLifecycle.start(OutputBindingLifecycle.java:34)
	at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:182)
	... 14 common frames omitted
1条回答
  • 2020-11-03 11:21

     看这个错应该是bladex-tool没有升级完整,确认下有没有更新这个类

    image.png

    image.png

    0 讨论(0)
提交回复