升级3.0.0新版后,gateway启动不了

Blade 已结 1 981
gtfhao
gtfhao 剑尊 2022-07-18 21:20

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

1. 原来是2.9.1正常运行的代码和环境,升级新3.0.0新版

2. 直接拿官方原版代码,修改注册nacos的ip,修改application启动名称加名字后缀

3.启动gateway,然后启动日志没报错,卡住不动了。配置也按照升级的配置了,2.9.1正常启动的。


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

期待结果:正常启动gateway

实际看到的结果:

日志没报错,卡住不动,服务没启动成功

三、你正在使用的是什么产品,什么版本?在什么操作系统上?

3.0.0企业联合版本

四、请提供详细的错误堆栈信息,这很重要。

org.springblade.gateway.GateWayApplication

----启动中,读取到的环境变量:[dev],jar地址:[/E:/platform-cloud/blade-gateway/target/classes/]----

2022-07-18 21:15:06.646  INFO 13388 --- [           main] c.a.n.p.a.s.c.ClientAuthPluginManager    : [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.impl.NacosClientAuthServiceImpl success.

2022-07-18 21:15:06.647  INFO 13388 --- [           main] c.a.n.p.a.s.c.ClientAuthPluginManager    : [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.ram.RamClientAuthServiceImpl success.

                   ______  _             _       ___   ___

                   | ___ \| |           | |      \  \ /  /

                   | |_/ /| |  __ _   __| |  ___  \  V  /

                   | ___ \| | / _` | / _` | / _ \   > <

                   | |_/ /| || (_| || (_| ||  __/ /  .  \

                   \____/ |_| \__,_| \__,_| \___|/__/ \__\


:: BladeX 3.0.0.RELEASE :: blade-gateway-gtf:dev :: Running SpringBoot 2.7.1 :: 


2022-07-18 21:15:10.022  WARN 13388 --- [           main] c.a.c.n.c.NacosPropertySourceBuilder     : Ignore the empty nacos configuration and get it based on dataId[blade-gateway-gtf] & group[DEFAULT_GROUP]

2022-07-18 21:15:10.049  WARN 13388 --- [           main] c.a.c.n.c.NacosPropertySourceBuilder     : Ignore the empty nacos configuration and get it based on dataId[blade-gateway-gtf.yaml] & group[DEFAULT_GROUP]

2022-07-18 21:15:10.072  WARN 13388 --- [           main] c.a.c.n.c.NacosPropertySourceBuilder     : Ignore the empty nacos configuration and get it based on dataId[blade-gateway-gtf-dev.yaml] & group[DEFAULT_GROUP]

2022-07-18 21:15:10.072  INFO 13388 --- [           main] b.c.PropertySourceBootstrapConfiguration : Located property source: [BootstrapPropertySource {name='bootstrapProperties-blade-gateway-gtf-dev.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-blade-gateway-gtf.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-blade-gateway-gtf,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-blade-dev.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-blade.yaml,DEFAULT_GROUP'}]

2022-07-18 21:15:10.077  INFO 13388 --- [           main] o.s.gateway.GateWayApplication           : The following 1 profile is active: "dev"

2022-07-18 21:15:10.787  INFO 13388 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode

2022-07-18 21:15:10.789  INFO 13388 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode.

2022-07-18 21:15:10.808  INFO 13388 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces.

2022-07-18 21:15:11.028  INFO 13388 --- [           main] o.s.cloud.context.scope.GenericScope     : BeanFactory id=64e0a4e9-2c81-339b-b51b-8d740a27a8ab

2022-07-18 21:15:11.033  INFO 13388 --- [           main] s.c.l.p.BladePropertySourcePostProcessor : BladePropertySourcePostProcessor init.

2022-07-18 21:15:11.043  INFO 13388 --- [           main] s.c.l.p.BladePropertySourcePostProcessor : BladePropertySourcePostProcessor process @BladePropertySource bean.

2022-07-18 21:15:11.077  WARN 13388 --- [           main] s.c.l.p.BladePropertySourcePostProcessor : Not found @BladePropertySource on spring bean class.

2022-07-18 21:15:11.244  INFO 13388 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration' of type [org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

2022-07-18 21:15:11.248  INFO 13388 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

2022-07-18 21:15:11.249  INFO 13388 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'loadBalancerClientsDefaultsMappingsProvider' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration$$Lambda$457/1868366224] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

2022-07-18 21:15:11.252  INFO 13388 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'defaultsBindHandlerAdvisor' of type [org.springframework.cloud.commons.config.DefaultsBindHandlerAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

2022-07-18 21:15:11.320  INFO 13388 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.cloud.sentinel-com.alibaba.cloud.sentinel.SentinelProperties' of type [com.alibaba.cloud.sentinel.SentinelProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

INFO: Sentinel log output type is: file

INFO: Sentinel log charset is: utf-8

INFO: Sentinel log base directory is: C:\Users\admin\logs\csp\

INFO: Sentinel log name use pid is: false

INFO: Sentinel log level is: INFO

2022-07-18 21:15:11.418  INFO 13388 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration' of type [com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

2022-07-18 21:15:11.428  INFO 13388 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.client.loadbalancer.reactive.LoadBalancerBeanPostProcessorAutoConfiguration' of type [org.springframework.cloud.client.loadbalancer.reactive.LoadBalancerBeanPostProcessorAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

2022-07-18 21:15:11.430  INFO 13388 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.client.loadbalancer.reactive.LoadBalancerBeanPostProcessorAutoConfiguration$ReactorDeferringLoadBalancerFilterConfig' of type [org.springframework.cloud.client.loadbalancer.reactive.LoadBalancerBeanPostProcessorAutoConfiguration$ReactorDeferringLoadBalancerFilterConfig] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

2022-07-18 21:15:11.432  INFO 13388 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'reactorDeferringLoadBalancerExchangeFilterFunction' of type [org.springframework.cloud.client.loadbalancer.reactive.DeferringLoadBalancerExchangeFilterFunction] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

2022-07-18 21:15:12.059  INFO 13388 --- [           main] c.a.n.p.a.s.c.ClientAuthPluginManager    : [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.impl.NacosClientAuthServiceImpl success.

2022-07-18 21:15:12.059  INFO 13388 --- [           main] c.a.n.p.a.s.c.ClientAuthPluginManager    : [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.ram.RamClientAuthServiceImpl success.

2022-07-18 21:15:13.815  INFO 13388 --- [           main] o.s.c.g.r.RouteDefinitionRouteLocator    : Loaded RoutePredicateFactory [After]

2022-07-18 21:15:13.816  INFO 13388 --- [           main] o.s.c.g.r.RouteDefinitionRouteLocator    : Loaded RoutePredicateFactory [Before]

2022-07-18 21:15:13.816  INFO 13388 --- [           main] o.s.c.g.r.RouteDefinitionRouteLocator    : Loaded RoutePredicateFactory [Between]

2022-07-18 21:15:13.816  INFO 13388 --- [           main] o.s.c.g.r.RouteDefinitionRouteLocator    : Loaded RoutePredicateFactory [Cookie]

2022-07-18 21:15:13.816  INFO 13388 --- [           main] o.s.c.g.r.RouteDefinitionRouteLocator    : Loaded RoutePredicateFactory [Header]

2022-07-18 21:15:13.816  INFO 13388 --- [           main] o.s.c.g.r.RouteDefinitionRouteLocator    : Loaded RoutePredicateFactory [Host]

2022-07-18 21:15:13.816  INFO 13388 --- [           main] o.s.c.g.r.RouteDefinitionRouteLocator    : Loaded RoutePredicateFactory [Method]

2022-07-18 21:15:13.816  INFO 13388 --- [           main] o.s.c.g.r.RouteDefinitionRouteLocator    : Loaded RoutePredicateFactory [Path]

2022-07-18 21:15:13.816  INFO 13388 --- [           main] o.s.c.g.r.RouteDefinitionRouteLocator    : Loaded RoutePredicateFactory [Query]

2022-07-18 21:15:13.816  INFO 13388 --- [           main] o.s.c.g.r.RouteDefinitionRouteLocator    : Loaded RoutePredicateFactory [ReadBody]

2022-07-18 21:15:13.816  INFO 13388 --- [           main] o.s.c.g.r.RouteDefinitionRouteLocator    : Loaded RoutePredicateFactory [RemoteAddr]

2022-07-18 21:15:13.816  INFO 13388 --- [           main] o.s.c.g.r.RouteDefinitionRouteLocator    : Loaded RoutePredicateFactory [XForwardedRemoteAddr]

2022-07-18 21:15:13.816  INFO 13388 --- [           main] o.s.c.g.r.RouteDefinitionRouteLocator    : Loaded RoutePredicateFactory [Weight]

2022-07-18 21:15:13.816  INFO 13388 --- [           main] o.s.c.g.r.RouteDefinitionRouteLocator    : Loaded RoutePredicateFactory [CloudFoundryRouteService]

2022-07-18 21:15:13.855  INFO 13388 --- [oundedElastic-1] c.a.n.p.a.s.c.ClientAuthPluginManager    : [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.impl.NacosClientAuthServiceImpl success.

2022-07-18 21:15:13.855  INFO 13388 --- [oundedElastic-1] c.a.n.p.a.s.c.ClientAuthPluginManager    : [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.ram.RamClientAuthServiceImpl success.

五、若有更多详细信息,请在下面提供。

经理下班了,没用他的商业版账号,我就先用自己账号发问题了

1条回答
  •  admin
    admin (最佳回答者)
    2022-07-18 22:08

    现已适配,请更新git私服最新版本

    3 讨论(1)
提交回复