springcloud项目 注册中心使用的是nacos,项目目前可以启起来也可以注册到nacos但是除了启动日志以外别的其他的日志都没有,正常流水日志没有,同时接口请求也是404 什么接口也是,以下是控制台命令 springboot版本2.4.2 springcloud版本2020.0.1 springcloudalibaba版本 2021.1 nacos版本1.4.1
2023-03-10 14:10:54.840 INFO 2128 --- [ main] c.a.b.n.c.u.NacosConfigPropertiesUtils : nacosConfigProperties : NacosConfigProperties{serverAddr='127.0.0.1:8848', contextPath='null', encode='null', endpoint='null', namespace='null', accessKey='null', secretKey='null', ramRoleName='null', autoRefresh=false, dataId='authority', dataIds='null', group='DEFAULT_GROUP', type=PROPERTIES, maxRetry='null', configLongPollTimeout='null', configRetryTime='null', enableRemoteSyncConfig=false, extConfig=[], bootstrap=Bootstrap{enable=false, logEnable=false}}
2023-03-10 14:10:54.895 INFO 2128 --- [ main] c.a.b.n.c.u.NacosConfigPropertiesUtils : nacosConfigProperties : NacosConfigProperties{serverAddr='127.0.0.1:8848', contextPath='null', encode='null', endpoint='null', namespace='null', accessKey='null', secretKey='null', ramRoleName='null', autoRefresh=false, dataId='authority', dataIds='null', group='DEFAULT_GROUP', type=PROPERTIES, maxRetry='null', configLongPollTimeout='null', configRetryTime='null', enableRemoteSyncConfig=false, extConfig=[], bootstrap=Bootstrap{enable=false, logEnable=false}}
2023-03-10 14:10:54.902 INFO 2128 --- [ main] NacosConfigApplicationContextInitializer : [Nacos Config Boot] : The preload configuration is not enabled
2023-03-10 14:10:55.653 INFO 2128 --- [ main] c.a.b.n.c.u.NacosConfigPropertiesUtils : nacosConfigProperties : NacosConfigProperties{serverAddr='127.0.0.1:8848', contextPath='null', encode='null', endpoint='null', namespace='null', accessKey='null', secretKey='null', ramRoleName='null', autoRefresh=false, dataId='authority', dataIds='null', group='DEFAULT_GROUP', type=PROPERTIES, maxRetry='null', configLongPollTimeout='null', configRetryTime='null', enableRemoteSyncConfig=false, extConfig=[], bootstrap=Bootstrap{enable=false, logEnable=false}}
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.4.2)
2023-03-10 14:10:55.671 INFO 2128 --- [ main] c.a.n.c.c.impl.LocalConfigInfoProcessor : LOCAL_SNAPSHOT_PATH:C:\Users\LiuFeiPeng\nacos\config
2023-03-10 14:10:55.697 INFO 2128 --- [ main] c.a.nacos.client.config.impl.Limiter : limitTime:5.0
2023-03-10 14:10:55.745 INFO 2128 --- [ main] c.a.nacos.client.config.utils.JvmUtil : isMultiInstance:false
2023-03-10 14:10:55.774 WARN 2128 --- [ main] c.a.c.n.c.NacosPropertySourceBuilder : Ignore the empty nacos configuration and get it based on dataId[authority.properties] & group[DEFAULT_GROUP]
2023-03-10 14:10:55.774 INFO 2128 --- [ main] b.c.PropertySourceBootstrapConfiguration : Located property source: [BootstrapPropertySource {name='bootstrapProperties-authority.properties,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-authority,DEFAULT_GROUP'}]
2023-03-10 14:10:55.787 INFO 2128 --- [ main] c.a.b.n.c.u.NacosConfigPropertiesUtils : nacosConfigProperties : NacosConfigProperties{serverAddr='127.0.0.1:8848', contextPath='null', encode='null', endpoint='null', namespace='null', accessKey='null', secretKey='null', ramRoleName='null', autoRefresh=false, dataId='authority', dataIds='null', group='DEFAULT_GROUP', type=PROPERTIES, maxRetry='null', configLongPollTimeout='null', configRetryTime='null', enableRemoteSyncConfig=false, extConfig=[], bootstrap=Bootstrap{enable=false, logEnable=false}}
2023-03-10 14:10:55.788 INFO 2128 --- [ main] NacosConfigApplicationContextInitializer : [Nacos Config Boot] : The preload configuration is not enabled
2023-03-10 14:10:55.788 INFO 2128 --- [ main] c.myfund.authority.AuthorityApplication : No active profile set, falling back to default profiles: default
2023-03-10 14:10:56.406 WARN 2128 --- [ main] o.s.boot.actuate.endpoint.EndpointId : Endpoint ID 'dynamic-tp' contains invalid characters, please migrate to a valid format.
2023-03-10 14:10:56.590 INFO 2128 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode!
2023-03-10 14:10:56.592 INFO 2128 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2023-03-10 14:10:56.627 INFO 2128 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 12 ms. Found 0 Redis repository interfaces.
2023-03-10 14:10:56.789 INFO 2128 --- [ main] o.s.cloud.context.scope.GenericScope : BeanFactory id=633e12e0-f96a-3c74-83e7-3e442137e1cc
2023-03-10 14:10:56.921 INFO 2128 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'com.dtp.starter.common.autoconfigure.BaseBeanAutoConfiguration' of type [com.dtp.starter.common.autoconfigure.BaseBeanAutoConfiguration$$EnhancerBySpringCGLIB$$114e0c26] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-03-10 14:10:56.931 INFO 2128 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'dtpApplicationContextHolder' of type [com.dtp.common.ApplicationContextHolder] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-03-10 14:10:57.179 INFO 2128 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8000 (http)
2023-03-10 14:10:57.188 INFO 2128 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2023-03-10 14:10:57.188 INFO 2128 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.41]
2023-03-10 14:10:57.306 INFO 2128 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2023-03-10 14:10:57.306 INFO 2128 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1500 ms
2023-03-10 14:10:57.830 INFO 2128 --- [ main] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource
2023-03-10 14:10:59.097 INFO 2128 --- [ main] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited
2023-03-10 14:10:59.409 INFO 2128 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'
____ ____ ___ ____ _ _ ____ _ _
[__ |__| __ | | | |_/ |___ |\ |
___] | | | |__| | \_ |___ | \|
https://sa-token.cc (v1.32.0)
2023-03-10 14:11:00.096 INFO 2128 --- [ main] o.s.s.c.ThreadPoolTaskScheduler : Initializing ExecutorService 'Nacos-Watch-Task-Scheduler'
2023-03-10 14:11:00.109 INFO 2128 --- [ main] com.alibaba.nacos.client.naming : initializer namespace from System Property :null
2023-03-10 14:11:00.109 INFO 2128 --- [ main] com.alibaba.nacos.client.naming : initializer namespace from System Environment :null
2023-03-10 14:11:00.109 INFO 2128 --- [ main] com.alibaba.nacos.client.naming : initializer namespace from System Property :null
2023-03-10 14:11:00.150 INFO 2128 --- [ main] com.dtp.core.support.DtpBannerPrinter :
| __ \ (_) |__ __|
| | | |_ _ _ __ __ _ _ __ ___ _ ___| |_ __
| | | | | | | '_ \ / _` | '_ ` _ \| |/ __| | '_ \
| |__| | |_| | | | | (_| | | | | | | | (__| | |_) |
|_____/ \__, |_| |_|\__,_|_| |_| |_|_|\___|_| .__/
__/ | | |
|___/ |_|
:: Dynamic Thread Pool ::
2023-03-10 14:11:01.086 INFO 2128 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path '/actuator'
2023-03-10 14:11:01.263 INFO 2128 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8000 (http) with context path ''
2023-03-10 14:11:01.266 INFO 2128 --- [ main] com.alibaba.nacos.client.naming : [BEAT] adding beat: BeatInfo{port=8000, ip='192.168.1.53', weight=1.0, serviceName='DEFAULT_GROUP@@authority', cluster='DEFAULT', metadata={preserved.register.source=SPRING_CLOUD}, scheduled=false, period=5000, stopped=false} to beat map.
2023-03-10 14:11:01.267 INFO 2128 --- [ main] com.alibaba.nacos.client.naming : [REGISTER-SERVICE] public registering service DEFAULT_GROUP@@authority with instance: Instance{instanceId='null', ip='192.168.1.53', port=8000, weight=1.0, healthy=true, enabled=true, ephemeral=true, clusterName='DEFAULT', serviceName='null', metadata={preserved.register.source=SPRING_CLOUD}}
2023-03-10 14:11:01.282 INFO 2128 --- [ main] c.a.c.n.registry.NacosServiceRegistry : nacos registry, DEFAULT_GROUP authority 192.168.1.53:8000 register finished
2023-03-10 14:11:01.738 INFO 2128 --- [ main] c.myfund.authority.AuthorityApplication : Started AuthorityApplication in 7.755 seconds (JVM running for 8.932)
2023-03-10 14:11:01.760 INFO 2128 --- [ main] com.dtp.core.DtpRegistry : DtpRegistry initialization end, remote dtpExecutors: [], local dtpExecutors: [], local commonExecutors: []
2023-03-10 14:11:01.760 WARN 2128 --- [ main] com.dtp.core.DtpRegistry : DtpRegistry initialization end, no notify platforms configured.
2023-03-10 14:11:01.764 INFO 2128 --- [ main] c.a.n.client.config.impl.ClientWorker : [fixed-192.168.1.37_8848] [subscribe] authority+DEFAULT_GROUP
2023-03-10 14:11:01.765 INFO 2128 --- [ main] c.a.nacos.client.config.impl.CacheData : [fixed-192.168.1.37_8848] [add-listener] ok, tenant=, dataId=authority, group=DEFAULT_GROUP, cnt=1
2023-03-10 14:11:01.765 INFO 2128 --- [ main] c.a.n.client.config.impl.ClientWorker : [fixed-192.168.1.37_8848] [subscribe] authority.properties+DEFAULT_GROUP
2023-03-10 14:11:01.765 INFO 2128 --- [ main] c.a.nacos.client.config.impl.CacheData : [fixed-192.168.1.37_8848] [add-listener] ok, tenant=, dataId=authority.properties, group=DEFAULT_GROUP, cnt=1
2023-03-10 14:11:02.220 INFO 2128 --- [2)-192.168.1.53] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
2023-03-10 14:11:02.220 INFO 2128 --- [2)-192.168.1.53] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
2023-03-10 14:11:02.222 INFO 2128 --- [2)-192.168.1.53] o.s.web.servlet.DispatcherServlet : Completed initialization in 2 ms
2023-03-10 14:11:02.264 INFO 2128 --- [.naming.updater] com.alibaba.nacos.client.naming : new ips(1) service: DEFAULT_GROUP@@authority@@DEFAULT -> [{"instanceId":"192.168.1.53#8000#DEFAULT#DEFAULT_GROUP@@authority","ip":"192.168.1.53","port":8000,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@authority","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatTimeOut":15000,"instanceHeartBeatInterval":5000,"ipDeleteTimeout":30000}]
2023-03-10 14:11:02.269 INFO 2128 --- [.naming.updater] com.alibaba.nacos.client.naming : current ips:(1) service: DEFAULT_GROUP@@authority@@DEFAULT -> [{"instanceId":"192.168.1.53#8000#DEFAULT#DEFAULT_GROUP@@authority","ip":"192.168.1.53","port":8000,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@authority","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatTimeOut":15000,"instanceHeartBeatInterval":5000,"ipDeleteTimeout":30000}]
2023-03-10 14:11:02.283 INFO 2128 --- [g.push.receiver] com.alibaba.nacos.client.naming : received push data: {"type":"dom","data":"{\"hosts\":[{\"ip\":\"192.168.1.53\",\"port\":8000,\"valid\":true,\"healthy\":true,\"marked\":false,\"instanceId\":\"192.168.1.53#8000#DEFAULT#DEFAULT_GROUP@@authority\",\"metadata\":{\"preserved.register.source\":\"SPRING_CLOUD\"},\"enabled\":true,\"weight\":1.0,\"clusterName\":\"DEFAULT\",\"serviceName\":\"DEFAULT_GROUP@@authority\",\"ephemeral\":true}],\"dom\":\"DEFAULT_GROUP@@authority\",\"name\":\"DEFAULT_GROUP@@authority\",\"cacheMillis\":10000,\"lastRefTime\":1678428661611,\"checksum\":\"3c5e23bb71b07f5bea2c6e394984388d\",\"useSpecifiedURL\":false,\"clusters\":\"DEFAULT\",\"env\":\"\",\"metadata\":{}}","lastRefTime":1230181073732600} from /192.168.1.37