nacos
nacos copied to clipboard
建议开始进行 Spring Boot 3 的适配
本月 24 号,Spring Boot 3 发布。目前 Spring 生态基本都已经发布了适配 Spring Boot 3 的 RC 版 或 M 版。
自己的项目也在进行适配,在新版环境下,Nacos 不会报错,但服务发现和注册功能就已经失效了。服务启动后,可以正常读取配置,但是在服务列表中无法看到服务,当然运行时也无法找到服务。
环境:
- Spring Boot 3.0.0-RC
- Spring Cloud 2022.0.0-RC
- Spring Cloud Alibaba 2021.0.4.0
- Nacos 2.1.2
可以把在springboot3 遇到的问题 罗列出来看看 社区进行下适配
服务无法注册,其它的内容就无法继续。所以目前只是遇到服务注册不成功问题。
我把Nacos的日志开到了 trace,把服务启动后的日志贴在下面,希望能有所帮助。和 Nacos 无关的日志请忽略,贴上只是为了完整的显示启动的过程。
"C:\Program Files\BellSoft\LibericaJDK-17\bin\java.exe" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:6831,suspend=y,server=n -XX:TieredStopAtLevel=1 -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -javaagent:C:\Users\gengwei.zheng\AppData\Local\JetBrains\IntelliJIdea2022.2\captureAgent\debugger-agent.jar=file:/C:/Users/gengwei.zheng/AppData/Local/Temp/capture.props -Dfile.encoding=UTF-8 -classpath C:\Users\gengwei.zheng\AppData\Local\Temp\classpath865850698.jar cn.herodotus.cloud.upms.UpmsApplication
Connected to the target VM, address: '127.0.0.1:6831', transport: 'socket'
2022-11-10T20:58:11.625+08:00 INFO 20732 --- [ main] c.a.n.p.a.s.c.ClientAuthPluginManager : [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.impl.NacosClientAuthServiceImpl success.
2022-11-10T20:58:11.630+08:00 INFO 20732 --- [ main] c.a.n.p.a.s.c.ClientAuthPluginManager : [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.ram.RamClientAuthServiceImpl success.
2022-11-10T20:58:12.551+08:00 WARN 20732 --- [ main] c.a.nacos.client.logging.NacosLogging : Load Logback Configuration of Nacos fail, message: org/slf4j/impl/StaticLoggerBinder
2022-11-10T20:58:12.552+08:00 WARN 20732 --- [ main] c.a.nacos.client.logging.NacosLogging : Load Logback Configuration of Nacos fail, message: org/slf4j/impl/StaticLoggerBinder
██╗ ██╗ ██╗ ██╗███████╗██████╗ ██████╗ ██████╗ ██████╗ ████████╗██╗ ██╗███████╗ ██╗ ██╗
██╔╝██╔╝ ██║ ██║██╔════╝██╔══██╗██╔═══██╗██╔══██╗██╔═══██╗╚══██╔══╝██║ ██║██╔════╝ ╚██╗╚██╗
██╔╝██╔╝ ███████║█████╗ ██████╔╝██║ ██║██║ ██║██║ ██║ ██║ ██║ ██║███████╗ ╚██╗╚██╗
╚██╗╚██╗ ██╔══██║██╔══╝ ██╔══██╗██║ ██║██║ ██║██║ ██║ ██║ ██║ ██║╚════██║ ██╔╝██╔╝
╚██╗╚██╗ ██║ ██║███████╗██║ ██║╚██████╔╝██████╔╝╚██████╔╝ ██║ ╚██████╔╝███████║ ██╔╝██╔╝
╚═╝ ╚═╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═════╝ ╚══════╝ ╚═╝ ╚═╝
:: Herodotus :: based on :: Spring Boot :: (v3.0.0-RC1)
2022-11-10T20:58:12.594+08:00 INFO 20732 --- [ main] c.a.n.c.c.impl.LocalConfigInfoProcessor : LOCAL_SNAPSHOT_PATH:C:\Users\gengwei.zheng\nacos\config
2022-11-10T20:58:12.599+08:00 INFO 20732 --- [ main] com.alibaba.nacos.common.remote.client : [RpcClientFactory] create a new rpc client of d3a8eba8-ae49-45bf-a172-37618e01f786_config-0
2022-11-10T20:58:12.678+08:00 INFO 20732 --- [ main] com.alibaba.nacos.common.remote.client : [d3a8eba8-ae49-45bf-a172-37618e01f786_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$632/0x000000080107aa38
2022-11-10T20:58:12.679+08:00 INFO 20732 --- [ main] com.alibaba.nacos.common.remote.client : [d3a8eba8-ae49-45bf-a172-37618e01f786_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$633/0x000000080107ae58
2022-11-10T20:58:12.679+08:00 INFO 20732 --- [ main] com.alibaba.nacos.common.remote.client : [d3a8eba8-ae49-45bf-a172-37618e01f786_config-0] Registry connection listener to current client:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$1
2022-11-10T20:58:12.680+08:00 INFO 20732 --- [ main] com.alibaba.nacos.common.remote.client : [d3a8eba8-ae49-45bf-a172-37618e01f786_config-0] RpcClient init, ServerListFactory = com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$2
2022-11-10T20:58:12.695+08:00 INFO 20732 --- [ main] com.alibaba.nacos.common.remote.client : [d3a8eba8-ae49-45bf-a172-37618e01f786_config-0] Try to connect to server on start up, server: {serverIp = '192.168.101.10', server main port = 8848}
2022-11-10T20:58:14.309+08:00 INFO 20732 --- [ main] com.alibaba.nacos.common.remote.client : [d3a8eba8-ae49-45bf-a172-37618e01f786_config-0] Success to connect to server [192.168.101.10:8848] on start up, connectionId = 1668085094047_172.18.0.1_42650
2022-11-10T20:58:14.313+08:00 INFO 20732 --- [t.remote.worker] com.alibaba.nacos.common.remote.client : [d3a8eba8-ae49-45bf-a172-37618e01f786_config-0] Notify connected event to listeners.
2022-11-10T20:58:14.313+08:00 INFO 20732 --- [t.remote.worker] c.a.n.client.config.impl.ClientWorker : [d3a8eba8-ae49-45bf-a172-37618e01f786_config-0] Connected,notify listen context...
2022-11-10T20:58:14.314+08:00 INFO 20732 --- [ main] com.alibaba.nacos.common.remote.client : [d3a8eba8-ae49-45bf-a172-37618e01f786_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
2022-11-10T20:58:14.315+08:00 INFO 20732 --- [ main] com.alibaba.nacos.common.remote.client : [d3a8eba8-ae49-45bf-a172-37618e01f786_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$652/0x00000008011cc3c8
2022-11-10T20:58:14.427+08:00 INFO 20732 --- [ main] c.a.nacos.client.config.impl.Limiter : limitTime:5.0
2022-11-10T20:58:14.461+08:00 INFO 20732 --- [ main] c.a.nacos.client.config.utils.JvmUtil : isMultiInstance:false
2022-11-10T20:58:14.710+08:00 WARN 20732 --- [ main] c.a.c.n.c.NacosPropertySourceBuilder : Ignore the empty nacos configuration and get it based on dataId[herodotus-cloud-upms] & group[DEFAULT_GROUP]
2022-11-10T20:58:14.721+08:00 WARN 20732 --- [ main] c.a.c.n.c.NacosPropertySourceBuilder : Ignore the empty nacos configuration and get it based on dataId[herodotus-cloud-upms.yaml] & group[DEFAULT_GROUP]
2022-11-10T20:58:14.723+08:00 INFO 20732 --- [ main] b.c.PropertySourceBootstrapConfiguration : Located property source: [BootstrapPropertySource {name='bootstrapProperties-herodotus-cloud-upms.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-herodotus-cloud-upms,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-herodotus-cloud-multi-tenancy.yaml,common'}, BootstrapPropertySource {name='bootstrapProperties-herodotus-cloud-social.yaml,common'}, BootstrapPropertySource {name='bootstrapProperties-herodotus-cloud-kafka.yaml,common'}, BootstrapPropertySource {name='bootstrapProperties-herodotus-cloud-rest.yaml,common'}, BootstrapPropertySource {name='bootstrapProperties-herodotus-cloud-cache.yaml,common'}, BootstrapPropertySource {name='bootstrapProperties-herodotus-cloud-redis.yaml,common'}, BootstrapPropertySource {name='bootstrapProperties-herodotus-cloud-database.yaml,common'}, BootstrapPropertySource {name='bootstrapProperties-herodotus-cloud-database-postgresql.yaml,common'}, BootstrapPropertySource {name='bootstrapProperties-herodotus-cloud-platform.yaml,common'}, BootstrapPropertySource {name='bootstrapProperties-herodotus-cloud-environment.yaml,development'}]
2022-11-10T20:58:14.782+08:00 INFO 20732 --- [ main] c.herodotus.cloud.upms.UpmsApplication : No active profile set, falling back to 1 default profile: "default"
2022-11-10T20:58:14.973+08:00 DEBUG 20732 --- [ main] c.h.e.s.a.condition.SmsEnabledCondition : [Herodotus] |- Condition [Sms Enabled] value is [true]
2022-11-10T20:58:14.978+08:00 DEBUG 20732 --- [ main] c.h.e.s.a.condition.SmsEnabledCondition : [Herodotus] |- Condition [Sms Enabled] value is [true]
2022-11-10T20:58:15.015+08:00 DEBUG 20732 --- [ main] c.h.e.s.a.c.AliyunSmsEnabledCondition : [Herodotus] |- Condition [Aliyun Sms Enabled] value is [true]
2022-11-10T20:58:15.017+08:00 DEBUG 20732 --- [ main] h.e.s.c.c.ChinaMobileSmsEnabledCondition : [Herodotus] |- Condition [China Mobile Sms Enabled] value is [false]
2022-11-10T20:58:15.018+08:00 DEBUG 20732 --- [ main] c.h.e.s.h.c.HuaweiSmsEnabledCondition : [Herodotus] |- Condition [Huawei Sms Enabled] value is [false]
2022-11-10T20:58:15.018+08:00 DEBUG 20732 --- [ main] c.h.e.s.j.c.JdSmsEnabledCondition : [Herodotus] |- Condition [Jd Sms Enabled] value is [false]
2022-11-10T20:58:15.019+08:00 DEBUG 20732 --- [ main] c.h.e.s.n.c.NeteaseSmsEnabledCondition : [Herodotus] |- Condition [Netease Sms Enabled] value is [false]
2022-11-10T20:58:15.021+08:00 DEBUG 20732 --- [ main] c.h.e.s.q.c.QiniuSmsEnabledCondition : [Herodotus] |- Condition [Qiniu Sms Enabled] value is [false]
2022-11-10T20:58:15.021+08:00 DEBUG 20732 --- [ main] c.h.e.s.t.c.TencentSmsEnabledCondition : [Herodotus] |- Condition [Tencent Sms Enabled] value is [false]
2022-11-10T20:58:15.022+08:00 DEBUG 20732 --- [ main] c.h.e.s.u.c.UpyunSmsEnabledCondition : [Herodotus] |- Condition [Upyun Sms Enabled] value is [false]
2022-11-10T20:58:15.023+08:00 DEBUG 20732 --- [ main] c.h.e.s.y.c.YunpianSmsEnabledCondition : [Herodotus] |- Condition [Yunpian Sms Enabled] value is [false]
2022-11-10T20:58:15.029+08:00 DEBUG 20732 --- [ main] c.h.e.a.j.c.JustAuthEnabledCondition : [Herodotus] |- Condition [JustAuth Enabled] value is [true]
2022-11-10T20:58:15.031+08:00 DEBUG 20732 --- [ main] c.h.e.a.w.c.WxappEnabledCondition : [Herodotus] |- Condition [Wxapp Enabled] value is [false]
2022-11-10T20:58:15.032+08:00 DEBUG 20732 --- [ main] c.h.e.a.w.c.WxmppEnabledCondition : [Herodotus] |- Condition [Wxmpp Enabled] value is [false]
2022-11-10T20:58:15.032+08:00 DEBUG 20732 --- [ main] c.h.r.s.r.c.RecluseSmsEnabledCondition : [Herodotus] |- Condition [Recluse Sms Enabled] value is [true]
2022-11-10T20:58:15.033+08:00 DEBUG 20732 --- [ main] c.h.r.s.r.c.RecluseSmsEnabledCondition : [Herodotus] |- Condition [Recluse Sms Enabled] value is [true]
2022-11-10T20:58:15.726+08:00 DEBUG 20732 --- [ main] c.h.e.c.r.c.RedisSessionSharingCondition : [Herodotus] |- Condition [Redis Session Sharing] value is [true]
2022-11-10T20:58:15.766+08:00 DEBUG 20732 --- [ main] c.h.e.d.j.c.MultiTenancyEnabledCondition : [Herodotus] |- Condition [Multi Tenancy Enabled] value is [false]
2022-11-10T20:58:15.794+08:00 DEBUG 20732 --- [ main] c.h.e.p.w.c.StandardCryptoCondition : [Herodotus] |- Condition [Standard Crypto] value is [false]
2022-11-10T20:58:15.796+08:00 DEBUG 20732 --- [ main] c.h.e.p.web.condition.SMCryptoCondition : [Herodotus] |- Condition [SM Crypto Strategy] value is [true]
2022-11-10T20:58:15.803+08:00 DEBUG 20732 --- [ main] c.h.e.w.r.c.FeignUseHttpClientCondition : [Herodotus] |- Condition [Feign Use HttpClient] value is [false]
2022-11-10T20:58:15.804+08:00 DEBUG 20732 --- [ main] c.h.e.w.r.c.FeignUseOkHttpCondition : [Herodotus] |- Condition [Feign Use OkHttp] value is [true]
2022-11-10T20:58:15.810+08:00 DEBUG 20732 --- [ main] c.h.e.a.c.c.SwaggerEnabledCondition : [Herodotus] |- Condition [Swagger Enabled] value is [true]
2022-11-10T20:58:15.821+08:00 DEBUG 20732 --- [ main] c.h.e.w.s.c.RequestMappingScanCondition : [Herodotus] |- Condition [Request Mapping Scan] value is [true]
2022-11-10T20:58:16.765+08:00 INFO 20732 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode
2022-11-10T20:58:16.766+08:00 INFO 20732 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2022-11-10T20:58:17.288+08:00 INFO 20732 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 508 ms. Found 11 JPA repository interfaces.
2022-11-10T20:58:17.290+08:00 DEBUG 20732 --- [ main] c.h.e.s.a.condition.SmsEnabledCondition : [Herodotus] |- Condition [Sms Enabled] value is [true]
2022-11-10T20:58:17.302+08:00 DEBUG 20732 --- [ main] c.h.e.a.j.c.JustAuthEnabledCondition : [Herodotus] |- Condition [JustAuth Enabled] value is [true]
2022-11-10T20:58:17.307+08:00 DEBUG 20732 --- [ main] c.h.e.a.w.c.WxappEnabledCondition : [Herodotus] |- Condition [Wxapp Enabled] value is [false]
2022-11-10T20:58:17.307+08:00 DEBUG 20732 --- [ main] c.h.e.s.a.condition.SmsEnabledCondition : [Herodotus] |- Condition [Sms Enabled] value is [true]
2022-11-10T20:58:17.307+08:00 DEBUG 20732 --- [ main] c.h.e.s.a.condition.SmsEnabledCondition : [Herodotus] |- Condition [Sms Enabled] value is [true]
2022-11-10T20:58:17.308+08:00 DEBUG 20732 --- [ main] c.h.e.s.a.c.AliyunSmsEnabledCondition : [Herodotus] |- Condition [Aliyun Sms Enabled] value is [true]
2022-11-10T20:58:17.335+08:00 DEBUG 20732 --- [ main] c.h.e.a.j.c.JustAuthEnabledCondition : [Herodotus] |- Condition [JustAuth Enabled] value is [true]
2022-11-10T20:58:17.352+08:00 DEBUG 20732 --- [ main] c.h.r.s.r.c.RecluseSmsEnabledCondition : [Herodotus] |- Condition [Recluse Sms Enabled] value is [true]
2022-11-10T20:58:17.357+08:00 INFO 20732 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode
2022-11-10T20:58:17.357+08:00 INFO 20732 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2022-11-10T20:58:17.367+08:00 INFO 20732 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 8 ms. Found 1 JPA repository interfaces.
2022-11-10T20:58:17.619+08:00 DEBUG 20732 --- [ main] c.h.e.c.r.c.RedisSessionSharingCondition : [Herodotus] |- Condition [Redis Session Sharing] value is [true]
2022-11-10T20:58:17.692+08:00 DEBUG 20732 --- [ main] c.h.e.p.web.condition.SMCryptoCondition : [Herodotus] |- Condition [SM Crypto Strategy] value is [true]
2022-11-10T20:58:17.729+08:00 DEBUG 20732 --- [ main] c.h.e.w.r.c.FeignUseOkHttpCondition : [Herodotus] |- Condition [Feign Use OkHttp] value is [true]
2022-11-10T20:58:17.738+08:00 DEBUG 20732 --- [ main] c.h.e.a.c.c.SwaggerEnabledCondition : [Herodotus] |- Condition [Swagger Enabled] value is [true]
2022-11-10T20:58:17.757+08:00 DEBUG 20732 --- [ main] c.h.e.w.s.c.RequestMappingScanCondition : [Herodotus] |- Condition [Request Mapping Scan] value is [true]
2022-11-10T20:58:18.680+08:00 INFO 20732 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode
2022-11-10T20:58:18.682+08:00 INFO 20732 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2022-11-10T20:58:18.703+08:00 INFO 20732 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 5 ms. Found 0 Redis repository interfaces.
2022-11-10T20:58:19.144+08:00 INFO 20732 --- [ main] faultConfiguringBeanFactoryPostProcessor : No bean named 'errorChannel' has been explicitly defined. Therefore, a default PublishSubscribeChannel will be created.
2022-11-10T20:58:19.170+08:00 INFO 20732 --- [ main] faultConfiguringBeanFactoryPostProcessor : No bean named 'integrationHeaderChannelRegistry' has been explicitly defined. Therefore, a default DefaultHeaderChannelRegistry will be created.
2022-11-10T20:58:19.335+08:00 INFO 20732 --- [ main] o.s.cloud.context.scope.GenericScope : BeanFactory id=fa438f62-3a0a-32e4-a204-183738cf8f8b
2022-11-10T20:58:19.768+08:00 INFO 20732 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.actuate.autoconfigure.observation.ObservationAutoConfiguration' of type [org.springframework.boot.actuate.autoconfigure.observation.ObservationAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-11-10T20:58:19.792+08:00 INFO 20732 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'observationRegistry' of type [io.micrometer.observation.SimpleObservationRegistry] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-11-10T20:58:19.847+08:00 INFO 20732 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.integration.config.IntegrationManagementConfiguration' of type [org.springframework.integration.config.IntegrationManagementConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-11-10T20:58:19.854+08:00 INFO 20732 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.integration.IntegrationAutoConfiguration$IntegrationJmxConfiguration' of type [org.springframework.boot.autoconfigure.integration.IntegrationAutoConfiguration$IntegrationJmxConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-11-10T20:58:19.864+08:00 INFO 20732 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.stream.config.BindersHealthIndicatorAutoConfiguration' of type [org.springframework.cloud.stream.config.BindersHealthIndicatorAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-11-10T20:58:19.870+08:00 INFO 20732 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'bindersHealthContributor' of type [org.springframework.cloud.stream.config.BindersHealthIndicatorAutoConfiguration$BindersHealthContributor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-11-10T20:58:19.876+08:00 INFO 20732 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'bindersHealthIndicatorListener' of type [org.springframework.cloud.stream.config.BindersHealthIndicatorAutoConfiguration$BindersHealthIndicatorListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-11-10T20:58:19.881+08:00 INFO 20732 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.stream.binder.kafka.config.ExtendedBindingHandlerMappingsProviderConfiguration' of type [org.springframework.cloud.stream.binder.kafka.config.ExtendedBindingHandlerMappingsProviderConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-11-10T20:58:19.883+08:00 INFO 20732 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'kafkaExtendedPropertiesDefaultMappingsProvider' of type [org.springframework.cloud.stream.binder.kafka.config.ExtendedBindingHandlerMappingsProviderConfiguration$$Lambda$929/0x000000080145eff0] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-11-10T20:58:19.886+08:00 INFO 20732 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'BindingHandlerAdvise' of type [org.springframework.cloud.stream.config.BindingHandlerAdvise] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-11-10T20:58:19.888+08:00 INFO 20732 --- [ 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-11-10T20:58:19.892+08:00 INFO 20732 --- [ 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-11-10T20:58:19.894+08:00 INFO 20732 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'loadBalancerClientsDefaultsMappingsProvider' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration$$Lambda$930/0x000000080145f208] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-11-10T20:58:19.896+08:00 INFO 20732 --- [ 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-11-10T20:58:19.922+08:00 INFO 20732 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'spelConverter' of type [org.springframework.cloud.stream.config.SpelExpressionConverterConfiguration$SpelConverter] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-11-10T20:58:19.932+08:00 INFO 20732 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.jmx-org.springframework.boot.autoconfigure.jmx.JmxProperties' of type [org.springframework.boot.autoconfigure.jmx.JmxProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-11-10T20:58:19.951+08:00 INFO 20732 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.jmx.JmxAutoConfiguration' of type [org.springframework.boot.autoconfigure.jmx.JmxAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-11-10T20:58:19.957+08:00 INFO 20732 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'mbeanServer' of type [com.sun.jmx.mbeanserver.JmxMBeanServer] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-11-10T20:58:20.156+08:00 DEBUG 20732 --- [ main] e.w.c.UndertowWebServerFactoryCustomizer : [Herodotus] |- Plugin [Undertow WebServer Factory Customizer] Auto Configure.
2022-11-10T20:58:20.449+08:00 INFO 20732 --- [ main] io.undertow.servlet : Initializing Spring embedded WebApplicationContext
2022-11-10T20:58:20.449+08:00 INFO 20732 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 5640 ms
2022-11-10T20:58:20.530+08:00 DEBUG 20732 --- [ main] c.h.e.c.r.c.RedisConfiguration : [Herodotus] |- SDK [Engine Cache Redis Http Session] Auto Configure.
2022-11-10T20:58:21.715+08:00 DEBUG 20732 --- [ main] c.h.e.p.w.c.SecureConfiguration : [Herodotus] |- SDK [Engine Protect Secure] Auto Configure.
2022-11-10T20:58:21.977+08:00 INFO 20732 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2022-11-10T20:58:22.096+08:00 INFO 20732 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.1.4.Final
2022-11-10T20:58:22.698+08:00 INFO 20732 --- [ main] com.zaxxer.hikari.HikariDataSource : Hikari - Starting...
2022-11-10T20:58:22.717+08:00 DEBUG 20732 --- [-worker-ELG-1-2] c.a.n.s.i.g.n.s.i.g.n.NettyClientHandler : [id: 0x14efe370, L:/192.168.101.10:6849 - R:/192.168.101.10:9848] OUTBOUND HEADERS: streamId=31 headers=GrpcHttp2OutboundHeaders[:authority: 192.168.101.10:9848, :path: /Request/request, :method: POST, :scheme: http, content-type: application/grpc, te: trailers, user-agent: grpc-java-netty/1.30.2, grpc-accept-encoding: gzip] streamDependency=0 weight=16 exclusive=false padding=0 endStream=false
2022-11-10T20:58:22.717+08:00 DEBUG 20732 --- [-worker-ELG-1-2] c.a.n.s.i.g.n.s.i.g.n.NettyClientHandler : [id: 0x14efe370, L:/192.168.101.10:6849 - R:/192.168.101.10:9848] OUTBOUND DATA: streamId=31 padding=0 endStream=true length=79 bytes=000000004a12221a124865616c7468436865636b52657175657374420c3137322e32352e3132382e311a2412227b2268656164657273223a7b7d2c226d6f6475...
2022-11-10T20:58:22.720+08:00 DEBUG 20732 --- [-worker-ELG-1-2] c.a.n.s.i.g.n.s.i.g.n.NettyClientHandler : [id: 0x14efe370, L:/192.168.101.10:6849 - R:/192.168.101.10:9848] INBOUND PING: ack=false bytes=1234
2022-11-10T20:58:22.720+08:00 DEBUG 20732 --- [-worker-ELG-1-2] c.a.n.s.i.g.n.s.i.g.n.NettyClientHandler : [id: 0x14efe370, L:/192.168.101.10:6849 - R:/192.168.101.10:9848] OUTBOUND PING: ack=true bytes=1234
2022-11-10T20:58:22.722+08:00 DEBUG 20732 --- [-worker-ELG-1-2] c.a.n.s.i.g.n.s.i.g.n.NettyClientHandler : [id: 0x14efe370, L:/192.168.101.10:6849 - R:/192.168.101.10:9848] INBOUND HEADERS: streamId=31 headers=GrpcHttp2ResponseHeaders[:status: 200, content-type: application/grpc, grpc-encoding: identity, grpc-accept-encoding: gzip] padding=0 endStream=false
2022-11-10T20:58:22.722+08:00 DEBUG 20732 --- [-worker-ELG-1-2] c.a.n.s.i.g.n.s.i.g.n.NettyClientHandler : [id: 0x14efe370, L:/192.168.101.10:6849 - R:/192.168.101.10:9848] INBOUND DATA: streamId=31 padding=0 endStream=false length=79 bytes=000000004a12151a134865616c7468436865636b526573706f6e73651a31122f7b22726573756c74436f6465223a3230302c226572726f72436f6465223a302c...
2022-11-10T20:58:22.723+08:00 DEBUG 20732 --- [-worker-ELG-1-2] c.a.n.s.i.g.n.s.i.g.n.NettyClientHandler : [id: 0x14efe370, L:/192.168.101.10:6849 - R:/192.168.101.10:9848] OUTBOUND PING: ack=false bytes=1234
2022-11-10T20:58:22.723+08:00 DEBUG 20732 --- [-worker-ELG-1-2] c.a.n.s.i.g.n.s.i.g.n.NettyClientHandler : [id: 0x14efe370, L:/192.168.101.10:6849 - R:/192.168.101.10:9848] INBOUND HEADERS: streamId=31 headers=GrpcHttp2ResponseHeaders[grpc-status: 0] padding=0 endStream=true
2022-11-10T20:58:22.725+08:00 DEBUG 20732 --- [-worker-ELG-1-2] c.a.n.s.i.g.n.s.i.g.n.NettyClientHandler : [id: 0x14efe370, L:/192.168.101.10:6849 - R:/192.168.101.10:9848] INBOUND PING: ack=true bytes=1234
2022-11-10T20:58:22.725+08:00 DEBUG 20732 --- [-worker-ELG-1-2] c.a.n.s.i.g.n.s.i.g.n.NettyClientHandler : Window: 1048576
2022-11-10T20:58:23.014+08:00 INFO 20732 --- [ main] com.zaxxer.hikari.pool.HikariPool : Hikari - Added connection org.postgresql.jdbc.PgConnection@130901fd
2022-11-10T20:58:23.020+08:00 INFO 20732 --- [ main] com.zaxxer.hikari.HikariDataSource : Hikari - Start completed.
2022-11-10T20:58:23.075+08:00 INFO 20732 --- [ main] SQL dialect : HHH000400: Using dialect: org.hibernate.dialect.PostgreSQLDialect
2022-11-10T20:58:24.087+08:00 DEBUG 20732 --- [ main] c.h.e.c.j.c.JetCacheConfiguration : [Herodotus] |- SDK [Engine Cache JetCache] Auto Configure.
2022-11-10T20:58:24.104+08:00 INFO 20732 --- [ main] c.a.j.a.AbstractCacheAutoInit : init cache area default , type= caffeine
2022-11-10T20:58:24.122+08:00 INFO 20732 --- [ main] c.a.j.a.AbstractCacheAutoInit : init cache area default , type= redis.lettuce
https://spring.io/blog/2022/11/10/spring-boot-3-0-0-rc2-available-now
补充,Spring Boot 3.0.0 第二个预发布版已发布,博客中提到了正式版将于2022年11月24日
正式版本spring boot3.0.0 同样问题 也不能注册到nacos 只要降到2.7.5就是没问题
Spring Boot 3.0.0 已发布
https://spring.io/blog/2022/11/24/spring-boot-3-0-goes-ga
服务无法注册,其内容就无法继续。所以目前只是遇到服务注册不成功的问题。
我把Nacos的日志打开了踪迹,把服务启动后的日志贴在下面,希望能有所帮助。和Nacos无关的日志请忽略,贴上只是为了完整的显示启动的过。
"C:\Program Files\BellSoft\LibericaJDK-17\bin\java.exe" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:6831,suspend=y,server=n -XX:TieredStopAtLevel=1 -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -javaagent:C:\Users\gengwei.zheng\AppData\Local\JetBrains\IntelliJIdea2022.2\captureAgent\debugger-agent.jar=file:/C:/Users/gengwei.zheng/AppData/Local/Temp/capture.props -Dfile.encoding=UTF-8 -classpath C:\Users\gengwei.zheng\AppData\Local\Temp\classpath865850698.jar cn.herodotus.cloud.upms.UpmsApplication Connected to the target VM, address: '127.0.0.1:6831', transport: 'socket' 2022-11-10T20:58:11.625+08:00 INFO 20732 --- [ main] c.a.n.p.a.s.c.ClientAuthPluginManager : [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.impl.NacosClientAuthServiceImpl success. 2022-11-10T20:58:11.630+08:00 INFO 20732 --- [ main] c.a.n.p.a.s.c.ClientAuthPluginManager : [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.ram.RamClientAuthServiceImpl success. 2022-11-10T20:58:12.551+08:00 WARN 20732 --- [ main] c.a.nacos.client.logging.NacosLogging : Load Logback Configuration of Nacos fail, message: org/slf4j/impl/StaticLoggerBinder 2022-11-10T20:58:12.552+08:00 WARN 20732 --- [ main] c.a.nacos.client.logging.NacosLogging : Load Logback Configuration of Nacos fail, message: org/slf4j/impl/StaticLoggerBinder ██╗ ██╗ ██╗ ██╗███████╗██████╗ ██████╗ ██████╗ ██████╗ ████████╗██╗ ██╗███████╗ ██╗ ██╗ ██╔╝██╔╝ ██║ ██║██╔════╝██╔══██╗██╔═══██╗██╔══██╗██╔═══██╗╚══██╔══╝██║ ██║██╔════╝ ╚██╗╚██╗ ██╔╝██╔╝ ███████║█████╗ ██████╔╝██║ ██║██║ ██║██║ ██║ ██║ ██║ ██║███████╗ ╚██╗╚██╗ ╚██╗╚██╗ ██╔══██║██╔══╝ ██╔══██╗██║ ██║██║ ██║██║ ██║ ██║ ██║ ██║╚════██║ ██╔╝██╔╝ ╚██╗╚██╗ ██║ ██║███████╗██║ ██║╚██████╔╝██████╔╝╚██████╔╝ ██║ ╚██████╔╝███████║ ██╔╝██╔╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═════╝ ╚══════╝ ╚═╝ ╚═╝ :: Herodotus :: based on :: Spring Boot :: (v3.0.0-RC1) 2022-11-10T20:58:12.594+08:00 INFO 20732 --- [ main] c.a.n.c.c.impl.LocalConfigInfoProcessor : LOCAL_SNAPSHOT_PATH:C:\Users\gengwei.zheng\nacos\config 2022-11-10T20:58:12.599+08:00 INFO 20732 --- [ main] com.alibaba.nacos.common.remote.client : [RpcClientFactory] create a new rpc client of d3a8eba8-ae49-45bf-a172-37618e01f786_config-0 2022-11-10T20:58:12.678+08:00 INFO 20732 --- [ main] com.alibaba.nacos.common.remote.client : [d3a8eba8-ae49-45bf-a172-37618e01f786_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$632/0x000000080107aa38 2022-11-10T20:58:12.679+08:00 INFO 20732 --- [ main] com.alibaba.nacos.common.remote.client : [d3a8eba8-ae49-45bf-a172-37618e01f786_config-0] Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$633/0x000000080107ae58 2022-11-10T20:58:12.679+08:00 INFO 20732 --- [ main] com.alibaba.nacos.common.remote.client : [d3a8eba8-ae49-45bf-a172-37618e01f786_config-0] Registry connection listener to current client:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$1 2022-11-10T20:58:12.680+08:00 INFO 20732 --- [ main] com.alibaba.nacos.common.remote.client : [d3a8eba8-ae49-45bf-a172-37618e01f786_config-0] RpcClient init, ServerListFactory = com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$2 2022-11-10T20:58:12.695+08:00 INFO 20732 --- [ main] com.alibaba.nacos.common.remote.client : [d3a8eba8-ae49-45bf-a172-37618e01f786_config-0] Try to connect to server on start up, server: {serverIp = '192.168.101.10', server main port = 8848} 2022-11-10T20:58:14.309+08:00 INFO 20732 --- [ main] com.alibaba.nacos.common.remote.client : [d3a8eba8-ae49-45bf-a172-37618e01f786_config-0] Success to connect to server [192.168.101.10:8848] on start up, connectionId = 1668085094047_172.18.0.1_42650 2022-11-10T20:58:14.313+08:00 INFO 20732 --- [t.remote.worker] com.alibaba.nacos.common.remote.client : [d3a8eba8-ae49-45bf-a172-37618e01f786_config-0] Notify connected event to listeners. 2022-11-10T20:58:14.313+08:00 INFO 20732 --- [t.remote.worker] c.a.n.client.config.impl.ClientWorker : [d3a8eba8-ae49-45bf-a172-37618e01f786_config-0] Connected,notify listen context... 2022-11-10T20:58:14.314+08:00 INFO 20732 --- [ main] com.alibaba.nacos.common.remote.client : [d3a8eba8-ae49-45bf-a172-37618e01f786_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler 2022-11-10T20:58:14.315+08:00 INFO 20732 --- [ main] com.alibaba.nacos.common.remote.client : [d3a8eba8-ae49-45bf-a172-37618e01f786_config-0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$652/0x00000008011cc3c8 2022-11-10T20:58:14.427+08:00 INFO 20732 --- [ main] c.a.nacos.client.config.impl.Limiter : limitTime:5.0 2022-11-10T20:58:14.461+08:00 INFO 20732 --- [ main] c.a.nacos.client.config.utils.JvmUtil : isMultiInstance:false 2022-11-10T20:58:14.710+08:00 WARN 20732 --- [ main] c.a.c.n.c.NacosPropertySourceBuilder : Ignore the empty nacos configuration and get it based on dataId[herodotus-cloud-upms] & group[DEFAULT_GROUP] 2022-11-10T20:58:14.721+08:00 WARN 20732 --- [ main] c.a.c.n.c.NacosPropertySourceBuilder : Ignore the empty nacos configuration and get it based on dataId[herodotus-cloud-upms.yaml] & group[DEFAULT_GROUP] 2022-11-10T20:58:14.723+08:00 INFO 20732 --- [ main] b.c.PropertySourceBootstrapConfiguration : Located property source: [BootstrapPropertySource {name='bootstrapProperties-herodotus-cloud-upms.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-herodotus-cloud-upms,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-herodotus-cloud-multi-tenancy.yaml,common'}, BootstrapPropertySource {name='bootstrapProperties-herodotus-cloud-social.yaml,common'}, BootstrapPropertySource {name='bootstrapProperties-herodotus-cloud-kafka.yaml,common'}, BootstrapPropertySource {name='bootstrapProperties-herodotus-cloud-rest.yaml,common'}, BootstrapPropertySource {name='bootstrapProperties-herodotus-cloud-cache.yaml,common'}, BootstrapPropertySource {name='bootstrapProperties-herodotus-cloud-redis.yaml,common'}, BootstrapPropertySource {name='bootstrapProperties-herodotus-cloud-database.yaml,common'}, BootstrapPropertySource {name='bootstrapProperties-herodotus-cloud-database-postgresql.yaml,common'}, BootstrapPropertySource {name='bootstrapProperties-herodotus-cloud-platform.yaml,common'}, BootstrapPropertySource {name='bootstrapProperties-herodotus-cloud-environment.yaml,development'}] 2022-11-10T20:58:14.782+08:00 INFO 20732 --- [ main] c.herodotus.cloud.upms.UpmsApplication : No active profile set, falling back to 1 default profile: "default" 2022-11-10T20:58:14.973+08:00 DEBUG 20732 --- [ main] c.h.e.s.a.condition.SmsEnabledCondition : [Herodotus] |- Condition [Sms Enabled] value is [true] 2022-11-10T20:58:14.978+08:00 DEBUG 20732 --- [ main] c.h.e.s.a.condition.SmsEnabledCondition : [Herodotus] |- Condition [Sms Enabled] value is [true] 2022-11-10T20:58:15.015+08:00 DEBUG 20732 --- [ main] c.h.e.s.a.c.AliyunSmsEnabledCondition : [Herodotus] |- Condition [Aliyun Sms Enabled] value is [true] 2022-11-10T20:58:15.017+08:00 DEBUG 20732 --- [ main] h.e.s.c.c.ChinaMobileSmsEnabledCondition : [Herodotus] |- Condition [China Mobile Sms Enabled] value is [false] 2022-11-10T20:58:15.018+08:00 DEBUG 20732 --- [ main] c.h.e.s.h.c.HuaweiSmsEnabledCondition : [Herodotus] |- Condition [Huawei Sms Enabled] value is [false] 2022-11-10T20:58:15.018+08:00 DEBUG 20732 --- [ main] c.h.e.s.j.c.JdSmsEnabledCondition : [Herodotus] |- Condition [Jd Sms Enabled] value is [false] 2022-11-10T20:58:15.019+08:00 DEBUG 20732 --- [ main] c.h.e.s.n.c.NeteaseSmsEnabledCondition : [Herodotus] |- Condition [Netease Sms Enabled] value is [false] 2022-11-10T20:58:15.021+08:00 DEBUG 20732 --- [ main] c.h.e.s.q.c.QiniuSmsEnabledCondition : [Herodotus] |- Condition [Qiniu Sms Enabled] value is [false] 2022-11-10T20:58:15.021+08:00 DEBUG 20732 --- [ main] c.h.e.s.t.c.TencentSmsEnabledCondition : [Herodotus] |- Condition [Tencent Sms Enabled] value is [false] 2022-11-10T20:58:15.022+08:00 DEBUG 20732 --- [ main] c.h.e.s.u.c.UpyunSmsEnabledCondition : [Herodotus] |- Condition [Upyun Sms Enabled] value is [false] 2022-11-10T20:58:15.023+08:00 DEBUG 20732 --- [ main] c.h.e.s.y.c.YunpianSmsEnabledCondition : [Herodotus] |- Condition [Yunpian Sms Enabled] value is [false] 2022-11-10T20:58:15.029+08:00 DEBUG 20732 --- [ main] c.h.e.a.j.c.JustAuthEnabledCondition : [Herodotus] |- Condition [JustAuth Enabled] value is [true] 2022-11-10T20:58:15.031+08:00 DEBUG 20732 --- [ main] c.h.e.a.w.c.WxappEnabledCondition : [Herodotus] |- Condition [Wxapp Enabled] value is [false] 2022-11-10T20:58:15.032+08:00 DEBUG 20732 --- [ main] c.h.e.a.w.c.WxmppEnabledCondition : [Herodotus] |- Condition [Wxmpp Enabled] value is [false] 2022-11-10T20:58:15.032+08:00 DEBUG 20732 --- [ main] c.h.r.s.r.c.RecluseSmsEnabledCondition : [Herodotus] |- Condition [Recluse Sms Enabled] value is [true] 2022-11-10T20:58:15.033+08:00 DEBUG 20732 --- [ main] c.h.r.s.r.c.RecluseSmsEnabledCondition : [Herodotus] |- Condition [Recluse Sms Enabled] value is [true] 2022-11-10T20:58:15.726+08:00 DEBUG 20732 --- [ main] c.h.e.c.r.c.RedisSessionSharingCondition : [Herodotus] |- Condition [Redis Session Sharing] value is [true] 2022-11-10T20:58:15.766+08:00 DEBUG 20732 --- [ main] c.h.e.d.j.c.MultiTenancyEnabledCondition : [Herodotus] |- Condition [Multi Tenancy Enabled] value is [false] 2022-11-10T20:58:15.794+08:00 DEBUG 20732 --- [ main] c.h.e.p.w.c.StandardCryptoCondition : [Herodotus] |- Condition [Standard Crypto] value is [false] 2022-11-10T20:58:15.796+08:00 DEBUG 20732 --- [ main] c.h.e.p.web.condition.SMCryptoCondition : [Herodotus] |- Condition [SM Crypto Strategy] value is [true] 2022-11-10T20:58:15.803+08:00 DEBUG 20732 --- [ main] c.h.e.w.r.c.FeignUseHttpClientCondition : [Herodotus] |- Condition [Feign Use HttpClient] value is [false] 2022-11-10T20:58:15.804+08:00 DEBUG 20732 --- [ main] c.h.e.w.r.c.FeignUseOkHttpCondition : [Herodotus] |- Condition [Feign Use OkHttp] value is [true] 2022-11-10T20:58:15.810+08:00 DEBUG 20732 --- [ main] c.h.e.a.c.c.SwaggerEnabledCondition : [Herodotus] |- Condition [Swagger Enabled] value is [true] 2022-11-10T20:58:15.821+08:00 DEBUG 20732 --- [ main] c.h.e.w.s.c.RequestMappingScanCondition : [Herodotus] |- Condition [Request Mapping Scan] value is [true] 2022-11-10T20:58:16.765+08:00 INFO 20732 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2022-11-10T20:58:16.766+08:00 INFO 20732 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2022-11-10T20:58:17.288+08:00 INFO 20732 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 508 ms. Found 11 JPA repository interfaces. 2022-11-10T20:58:17.290+08:00 DEBUG 20732 --- [ main] c.h.e.s.a.condition.SmsEnabledCondition : [Herodotus] |- Condition [Sms Enabled] value is [true] 2022-11-10T20:58:17.302+08:00 DEBUG 20732 --- [ main] c.h.e.a.j.c.JustAuthEnabledCondition : [Herodotus] |- Condition [JustAuth Enabled] value is [true] 2022-11-10T20:58:17.307+08:00 DEBUG 20732 --- [ main] c.h.e.a.w.c.WxappEnabledCondition : [Herodotus] |- Condition [Wxapp Enabled] value is [false] 2022-11-10T20:58:17.307+08:00 DEBUG 20732 --- [ main] c.h.e.s.a.condition.SmsEnabledCondition : [Herodotus] |- Condition [Sms Enabled] value is [true] 2022-11-10T20:58:17.307+08:00 DEBUG 20732 --- [ main] c.h.e.s.a.condition.SmsEnabledCondition : [Herodotus] |- Condition [Sms Enabled] value is [true] 2022-11-10T20:58:17.308+08:00 DEBUG 20732 --- [ main] c.h.e.s.a.c.AliyunSmsEnabledCondition : [Herodotus] |- Condition [Aliyun Sms Enabled] value is [true] 2022-11-10T20:58:17.335+08:00 DEBUG 20732 --- [ main] c.h.e.a.j.c.JustAuthEnabledCondition : [Herodotus] |- Condition [JustAuth Enabled] value is [true] 2022-11-10T20:58:17.352+08:00 DEBUG 20732 --- [ main] c.h.r.s.r.c.RecluseSmsEnabledCondition : [Herodotus] |- Condition [Recluse Sms Enabled] value is [true] 2022-11-10T20:58:17.357+08:00 INFO 20732 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2022-11-10T20:58:17.357+08:00 INFO 20732 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2022-11-10T20:58:17.367+08:00 INFO 20732 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 8 ms. Found 1 JPA repository interfaces. 2022-11-10T20:58:17.619+08:00 DEBUG 20732 --- [ main] c.h.e.c.r.c.RedisSessionSharingCondition : [Herodotus] |- Condition [Redis Session Sharing] value is [true] 2022-11-10T20:58:17.692+08:00 DEBUG 20732 --- [ main] c.h.e.p.web.condition.SMCryptoCondition : [Herodotus] |- Condition [SM Crypto Strategy] value is [true] 2022-11-10T20:58:17.729+08:00 DEBUG 20732 --- [ main] c.h.e.w.r.c.FeignUseOkHttpCondition : [Herodotus] |- Condition [Feign Use OkHttp] value is [true] 2022-11-10T20:58:17.738+08:00 DEBUG 20732 --- [ main] c.h.e.a.c.c.SwaggerEnabledCondition : [Herodotus] |- Condition [Swagger Enabled] value is [true] 2022-11-10T20:58:17.757+08:00 DEBUG 20732 --- [ main] c.h.e.w.s.c.RequestMappingScanCondition : [Herodotus] |- Condition [Request Mapping Scan] value is [true] 2022-11-10T20:58:18.680+08:00 INFO 20732 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2022-11-10T20:58:18.682+08:00 INFO 20732 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. 2022-11-10T20:58:18.703+08:00 INFO 20732 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 5 ms. Found 0 Redis repository interfaces. 2022-11-10T20:58:19.144+08:00 INFO 20732 --- [ main] faultConfiguringBeanFactoryPostProcessor : No bean named 'errorChannel' has been explicitly defined. Therefore, a default PublishSubscribeChannel will be created. 2022-11-10T20:58:19.170+08:00 INFO 20732 --- [ main] faultConfiguringBeanFactoryPostProcessor : No bean named 'integrationHeaderChannelRegistry' has been explicitly defined. Therefore, a default DefaultHeaderChannelRegistry will be created. 2022-11-10T20:58:19.335+08:00 INFO 20732 --- [ main] o.s.cloud.context.scope.GenericScope : BeanFactory id=fa438f62-3a0a-32e4-a204-183738cf8f8b 2022-11-10T20:58:19.768+08:00 INFO 20732 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.actuate.autoconfigure.observation.ObservationAutoConfiguration' of type [org.springframework.boot.actuate.autoconfigure.observation.ObservationAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2022-11-10T20:58:19.792+08:00 INFO 20732 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'observationRegistry' of type [io.micrometer.observation.SimpleObservationRegistry] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2022-11-10T20:58:19.847+08:00 INFO 20732 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.integration.config.IntegrationManagementConfiguration' of type [org.springframework.integration.config.IntegrationManagementConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2022-11-10T20:58:19.854+08:00 INFO 20732 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.integration.IntegrationAutoConfiguration$IntegrationJmxConfiguration' of type [org.springframework.boot.autoconfigure.integration.IntegrationAutoConfiguration$IntegrationJmxConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2022-11-10T20:58:19.864+08:00 INFO 20732 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.stream.config.BindersHealthIndicatorAutoConfiguration' of type [org.springframework.cloud.stream.config.BindersHealthIndicatorAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2022-11-10T20:58:19.870+08:00 INFO 20732 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'bindersHealthContributor' of type [org.springframework.cloud.stream.config.BindersHealthIndicatorAutoConfiguration$BindersHealthContributor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2022-11-10T20:58:19.876+08:00 INFO 20732 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'bindersHealthIndicatorListener' of type [org.springframework.cloud.stream.config.BindersHealthIndicatorAutoConfiguration$BindersHealthIndicatorListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2022-11-10T20:58:19.881+08:00 INFO 20732 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.stream.binder.kafka.config.ExtendedBindingHandlerMappingsProviderConfiguration' of type [org.springframework.cloud.stream.binder.kafka.config.ExtendedBindingHandlerMappingsProviderConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2022-11-10T20:58:19.883+08:00 INFO 20732 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'kafkaExtendedPropertiesDefaultMappingsProvider' of type [org.springframework.cloud.stream.binder.kafka.config.ExtendedBindingHandlerMappingsProviderConfiguration$$Lambda$929/0x000000080145eff0] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2022-11-10T20:58:19.886+08:00 INFO 20732 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'BindingHandlerAdvise' of type [org.springframework.cloud.stream.config.BindingHandlerAdvise] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2022-11-10T20:58:19.888+08:00 INFO 20732 --- [ 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-11-10T20:58:19.892+08:00 INFO 20732 --- [ 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-11-10T20:58:19.894+08:00 INFO 20732 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'loadBalancerClientsDefaultsMappingsProvider' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration$$Lambda$930/0x000000080145f208] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2022-11-10T20:58:19.896+08:00 INFO 20732 --- [ 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-11-10T20:58:19.922+08:00 INFO 20732 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'spelConverter' of type [org.springframework.cloud.stream.config.SpelExpressionConverterConfiguration$SpelConverter] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2022-11-10T20:58:19.932+08:00 INFO 20732 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.jmx-org.springframework.boot.autoconfigure.jmx.JmxProperties' of type [org.springframework.boot.autoconfigure.jmx.JmxProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2022-11-10T20:58:19.951+08:00 INFO 20732 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.jmx.JmxAutoConfiguration' of type [org.springframework.boot.autoconfigure.jmx.JmxAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2022-11-10T20:58:19.957+08:00 INFO 20732 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'mbeanServer' of type [com.sun.jmx.mbeanserver.JmxMBeanServer] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2022-11-10T20:58:20.156+08:00 DEBUG 20732 --- [ main] e.w.c.UndertowWebServerFactoryCustomizer : [Herodotus] |- Plugin [Undertow WebServer Factory Customizer] Auto Configure. 2022-11-10T20:58:20.449+08:00 INFO 20732 --- [ main] io.undertow.servlet : Initializing Spring embedded WebApplicationContext 2022-11-10T20:58:20.449+08:00 INFO 20732 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 5640 ms 2022-11-10T20:58:20.530+08:00 DEBUG 20732 --- [ main] c.h.e.c.r.c.RedisConfiguration : [Herodotus] |- SDK [Engine Cache Redis Http Session] Auto Configure. 2022-11-10T20:58:21.715+08:00 DEBUG 20732 --- [ main] c.h.e.p.w.c.SecureConfiguration : [Herodotus] |- SDK [Engine Protect Secure] Auto Configure. 2022-11-10T20:58:21.977+08:00 INFO 20732 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2022-11-10T20:58:22.096+08:00 INFO 20732 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.1.4.Final 2022-11-10T20:58:22.698+08:00 INFO 20732 --- [ main] com.zaxxer.hikari.HikariDataSource : Hikari - Starting... 2022-11-10T20:58:22.717+08:00 DEBUG 20732 --- [-worker-ELG-1-2] c.a.n.s.i.g.n.s.i.g.n.NettyClientHandler : [id: 0x14efe370, L:/192.168.101.10:6849 - R:/192.168.101.10:9848] OUTBOUND HEADERS: streamId=31 headers=GrpcHttp2OutboundHeaders[:authority: 192.168.101.10:9848, :path: /Request/request, :method: POST, :scheme: http, content-type: application/grpc, te: trailers, user-agent: grpc-java-netty/1.30.2, grpc-accept-encoding: gzip] streamDependency=0 weight=16 exclusive=false padding=0 endStream=false 2022-11-10T20:58:22.717+08:00 DEBUG 20732 --- [-worker-ELG-1-2] c.a.n.s.i.g.n.s.i.g.n.NettyClientHandler : [id: 0x14efe370, L:/192.168.101.10:6849 - R:/192.168.101.10:9848] OUTBOUND DATA: streamId=31 padding=0 endStream=true length=79 bytes=000000004a12221a124865616c7468436865636b52657175657374420c3137322e32352e3132382e311a2412227b2268656164657273223a7b7d2c226d6f6475... 2022-11-10T20:58:22.720+08:00 DEBUG 20732 --- [-worker-ELG-1-2] c.a.n.s.i.g.n.s.i.g.n.NettyClientHandler : [id: 0x14efe370, L:/192.168.101.10:6849 - R:/192.168.101.10:9848] INBOUND PING: ack=false bytes=1234 2022-11-10T20:58:22.720+08:00 DEBUG 20732 --- [-worker-ELG-1-2] c.a.n.s.i.g.n.s.i.g.n.NettyClientHandler : [id: 0x14efe370, L:/192.168.101.10:6849 - R:/192.168.101.10:9848] OUTBOUND PING: ack=true bytes=1234 2022-11-10T20:58:22.722+08:00 DEBUG 20732 --- [-worker-ELG-1-2] c.a.n.s.i.g.n.s.i.g.n.NettyClientHandler : [id: 0x14efe370, L:/192.168.101.10:6849 - R:/192.168.101.10:9848] INBOUND HEADERS: streamId=31 headers=GrpcHttp2ResponseHeaders[:status: 200, content-type: application/grpc, grpc-encoding: identity, grpc-accept-encoding: gzip] padding=0 endStream=false 2022-11-10T20:58:22.722+08:00 DEBUG 20732 --- [-worker-ELG-1-2] c.a.n.s.i.g.n.s.i.g.n.NettyClientHandler : [id: 0x14efe370, L:/192.168.101.10:6849 - R:/192.168.101.10:9848] INBOUND DATA: streamId=31 padding=0 endStream=false length=79 bytes=000000004a12151a134865616c7468436865636b526573706f6e73651a31122f7b22726573756c74436f6465223a3230302c226572726f72436f6465223a302c... 2022-11-10T20:58:22.723+08:00 DEBUG 20732 --- [-worker-ELG-1-2] c.a.n.s.i.g.n.s.i.g.n.NettyClientHandler : [id: 0x14efe370, L:/192.168.101.10:6849 - R:/192.168.101.10:9848] OUTBOUND PING: ack=false bytes=1234 2022-11-10T20:58:22.723+08:00 DEBUG 20732 --- [-worker-ELG-1-2] c.a.n.s.i.g.n.s.i.g.n.NettyClientHandler : [id: 0x14efe370, L:/192.168.101.10:6849 - R:/192.168.101.10:9848] INBOUND HEADERS: streamId=31 headers=GrpcHttp2ResponseHeaders[grpc-status: 0] padding=0 endStream=true 2022-11-10T20:58:22.725+08:00 DEBUG 20732 --- [-worker-ELG-1-2] c.a.n.s.i.g.n.s.i.g.n.NettyClientHandler : [id: 0x14efe370, L:/192.168.101.10:6849 - R:/192.168.101.10:9848] INBOUND PING: ack=true bytes=1234 2022-11-10T20:58:22.725+08:00 DEBUG 20732 --- [-worker-ELG-1-2] c.a.n.s.i.g.n.s.i.g.n.NettyClientHandler : Window: 1048576 2022-11-10T20:58:23.014+08:00 INFO 20732 --- [ main] com.zaxxer.hikari.pool.HikariPool : Hikari - Added connection org.postgresql.jdbc.PgConnection@130901fd 2022-11-10T20:58:23.020+08:00 INFO 20732 --- [ main] com.zaxxer.hikari.HikariDataSource : Hikari - Start completed. 2022-11-10T20:58:23.075+08:00 INFO 20732 --- [ main] SQL dialect : HHH000400: Using dialect: org.hibernate.dialect.PostgreSQLDialect 2022-11-10T20:58:24.087+08:00 DEBUG 20732 --- [ main] c.h.e.c.j.c.JetCacheConfiguration : [Herodotus] |- SDK [Engine Cache JetCache] Auto Configure. 2022-11-10T20:58:24.104+08:00 INFO 20732 --- [ main] c.a.j.a.AbstractCacheAutoInit : init cache area default , type= caffeine 2022-11-10T20:58:24.122+08:00 INFO 20732 --- [ main] c.a.j.a.AbstractCacheAutoInit : init cache area default , type= redis.lettuce
是否能将你修改的Nacos开源出来?大家先一起维护一下?
开始了么?我们正准备用Spring Boot 3呢,加油哦~
可以使用 Spring Cloud Tencent
,已经有了 Spring Boot 3
的版本可以体验。
═
请问这个怎么生成,谢谢
═
请问这个怎么生成,谢谢
resources 文件夹下增加 banner.txt ,项目启动完成会输出 banner.txt 中的内容
Thanks
------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年12月12日(星期一) 下午5:23 收件人: @.>; 抄送: "宴 一 @.>; @.>; 主题: Re: [alibaba/nacos] 建议开始进行 Spring Boot 3 的适配 (Issue #9535)
═
请问这个怎么生成,谢谢
resources 文件夹下增加 banner.txt ,项目启动完成会输出 banner.txt 中的内容
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
@i will solve it@
附议,也准备升级到spring boot3版本,在考虑如果nacos近期没有支持spring boot3的计划的话,就切到zookeeper那边去
附议,也准备升级到spring boot3版本,在考虑如果nacos近期没有支持spring boot3的计划的话,就切到zookeeper那边去
springboot版本的sdk正在适配中
已支持 spring boot 3.0 https://github.com/alibaba/spring-cloud-alibaba/releases/tag/2022.0.0.0-RC1
已支持 spring boot 3.0 https://github.com/alibaba/spring-cloud-alibaba/releases/tag/2022.0.0.0-RC1
nice
spring-cloud-starter-alibaba-nacos-discovery和spring-cloud-starter-alibaba-nacos-config升级到2022.0.0.0-RC2就行了,因为2021版本里面依赖的是springboot2.x版本
多谢,springboot3.0.4使用Nacos版本2022.0.0.0-RC2 可以正常注册服务
13 May 2023 Cmt 09:47 tarihinde FuKangbo @.***> şunu yazdı:
多谢,springboot3.0.4使用Nacos版本2022.0.0.0-RC2 可以正常注册服务
— Reply to this email directly, view it on GitHub https://github.com/alibaba/nacos/issues/9535#issuecomment-1546546422, or unsubscribe https://github.com/notifications/unsubscribe-auth/AY7JYJ6GKAQOFKVD4BZCWMLXF4U7LANCNFSM6AAAAAAR4IH5GA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
dubbo3 + nacos2 + springboot3 是不是可以先用这个: https://github.com/nacos-group/nacos-spring-boot-project/releases/tag/0.3.0-RC
已支持 spring boot 3.0 https://github.com/alibaba/spring-cloud-alibaba/releases/tag/2022.0.0.0-RC1