从svn上拉下来的项目,其中gateway模块在其他电脑上没问题,在我的电脑上,如果我重装idea后第一次启动,可以启动,但是断开之后第二次及之后的启动就会异常报错。
2021-09-17 15:09:19 |INFO |main |LocalConfigInfoProcessor.java:195 |com.alibaba.nacos.client.config.impl.LocalConfigInfoProcessor |LOCAL_SNAPSHOT_PATH:C:\Users\l04255\nacos\config
2021-09-17 15:09:19 |INFO |main |Limiter.java:53 |com.alibaba.nacos.client.config.impl.Limiter |limitTime:5.0
2021-09-17 15:09:19 |INFO |main |JVMUtil.java:47 |com.alibaba.nacos.client.config.utils.JVMUtil |isMultiInstance:false
2021-09-17 15:09:19 |WARN |main |NacosPropertySourceBuilder.java:87 |com.alibaba.cloud.nacos.client.NacosPropertySourceBuilder |Ignore the empty nacos configuration and get it based on dataId[cloudos_gateway] & group[DEFAULT_GROUP]
2021-09-17 15:09:19 |INFO |main |Jdk14Logger.java:87 |org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration |Located property source: CompositePropertySource {name='NACOS', propertySources=[NacosPropertySource {name='cloudos_gateway-dev.yaml,DEFAULT_GROUP'}, NacosPropertySource {name='cloudos_gateway.yaml,DEFAULT_GROUP'}, NacosPropertySource {name='cloudos_gateway,DEFAULT_GROUP'}, NacosPropertySource {name='common-dev.yaml,DEFAULT_GROUP'}]}
2021-09-17 15:09:19 |INFO |main |Jdk14Logger.java:87 |com.dp.gateway.CloudosGatewayApplication |The following profiles are active: dev
2021-09-17 15:09:19 |INFO |main |Jdk14Logger.java:87 |org.springframework.boot.web.reactive.context.AnnotationConfigReactiveWebServerApplicationContext |Refreshing org.springframework.boot.web.reactive.context.AnnotationConfigReactiveWebServerApplicationContext@56aaaecd: startup date [Fri Sep 17 15:09:19 CST 2021]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@1e1a0406
2021-09-17 15:09:21 |INFO |main |Jdk14Logger.java:87 |org.springframework.cloud.context.scope.GenericScope |BeanFactory id=553461d3-bf1b-3a8e-a847-2ba8cdf98df3
2021-09-17 15:09:21 |INFO |main |Jdk14Logger.java:87 |org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor |JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2021-09-17 15:09:21 |INFO |main |Jdk14Logger.java:87 |org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker |Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$fa6dc166] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-09-17 15:09:22 |INFO |main |Jdk14Logger.java:87 |org.springframework.web.reactive.result.method.annotation.RequestMappingHandlerMapping |Mapped "{[/fallback/{name}]}" onto public reactor.core.publisher.Mono<com.dp.common.vo.SysResult> com.dp.gateway.controller.FallbackController.systemFallback(java.lang.String)
2021-09-17 15:09:22 |INFO |main |Jdk14Logger.java:87 |org.springframework.web.reactive.handler.SimpleUrlHandlerMapping |Mapped URL path [/webjars/] onto handler of type [class org.springframework.web.reactive.resource.ResourceWebHandler]
2021-09-17 15:09:22 |INFO |main |Jdk14Logger.java:87 |org.springframework.web.reactive.handler.SimpleUrlHandlerMapping |Mapped URL path [/] onto handler of type [class org.springframework.web.reactive.resource.ResourceWebHandler]
INFO: log base dir is: C:\Users\XXX\logs\csp
INFO: log name use pid is: false
2021-09-17 15:09:24 |INFO |main |Jdk14Logger.java:87 |org.springframework.aop.framework.CglibAopProxy |Final method [public final reactor.core.publisher.Mono reactor.ipc.netty.http.client.HttpClient.get(java.lang.String)] cannot get proxied via CGLIB: Calls to this method will NOT be routed to the target instance and might lead to NPEs against uninitialized fields in the proxy instance.
2021-09-17 15:09:24 |INFO |main |Jdk14Logger.java:87 |org.springframework.aop.framework.CglibAopProxy |Final method [public final reactor.core.publisher.Mono reactor.ipc.netty.http.client.HttpClient.get(java.lang.String,java.util.function.Function)] cannot get proxied via CGLIB: Calls to this method will NOT be routed to the target instance and might lead to NPEs against uninitialized fields in the proxy instance.
2021-09-17 15:09:24 |INFO |main |Jdk14Logger.java:87 |org.springframework.aop.framework.CglibAopProxy |Final method [public final reactor.core.publisher.Mono reactor.ipc.netty.http.client.HttpClient.put(java.lang.String,java.util.function.Function)] cannot get proxied via CGLIB: Calls to this method will NOT be routed to the target instance and might lead to NPEs against uninitialized fields in the proxy instance.
2021-09-17 15:09:24 |INFO |main |Jdk14Logger.java:87 |org.springframework.aop.framework.CglibAopProxy |Final method [public final reactor.core.publisher.Mono reactor.ipc.netty.http.client.HttpClient.delete(java.lang.String)] cannot get proxied via CGLIB: Calls to this method will NOT be routed to the target instance and might lead to NPEs against uninitialized fields in the proxy instance.
2021-09-17 15:09:24 |INFO |main |Jdk14Logger.java:87 |org.springframework.aop.framework.CglibAopProxy |Final method [public final reactor.core.publisher.Mono reactor.ipc.netty.http.client.HttpClient.delete(java.lang.String,java.util.function.Function)] cannot get proxied via CGLIB: Calls to this method will NOT be routed to the target instance and might lead to NPEs against uninitialized fields in the proxy instance.
2021-09-17 15:09:24 |INFO |main |Jdk14Logger.java:87 |org.springframework.aop.framework.CglibAopProxy |Final method [public final reactor.core.publisher.Mono reactor.ipc.netty.http.client.HttpClient.patch(java.lang.String,java.util.function.Function)] cannot get proxied via CGLIB: Calls to this method will NOT be routed to the target instance and might lead to NPEs against uninitialized fields in the proxy instance.
2021-09-17 15:09:24 |INFO |main |Jdk14Logger.java:87 |org.springframework.aop.framework.CglibAopProxy |Final method [public final reactor.core.publisher.Mono reactor.ipc.netty.http.client.HttpClient.patch(java.lang.String)] cannot get proxied via CGLIB: Calls to this method will NOT be routed to the target instance and might lead to NPEs against uninitialized fields in the proxy instance.
2021-09-17 15:09:24 |INFO |main |Jdk14Logger.java:87 |org.springframework.aop.framework.CglibAopProxy |Final method [public final reactor.core.publisher.Mono reactor.ipc.netty.http.client.HttpClient.post(java.lang.String,java.util.function.Function)] cannot get proxied via CGLIB: Calls to this method will NOT be routed to the target instance and might lead to NPEs against uninitialized fields in the proxy instance.
2021-09-17 15:09:24 |INFO |main |Jdk14Logger.java:87 |org.springframework.aop.framework.CglibAopProxy |Final method [public final reactor.core.publisher.Mono reactor.ipc.netty.http.client.HttpClient.ws(java.lang.String,java.util.function.Consumer)] cannot get proxied via CGLIB: Calls to this method will NOT be routed to the target instance and might lead to NPEs against uninitialized fields in the proxy instance.
2021-09-17 15:09:24 |INFO |main |Jdk14Logger.java:87 |org.springframework.aop.framework.CglibAopProxy |Final method [public final reactor.core.publisher.Mono reactor.ipc.netty.http.client.HttpClient.ws(java.lang.String,java.lang.String)] cannot get proxied via CGLIB: Calls to this method will NOT be routed to the target instance and might lead to NPEs against uninitialized fields in the proxy instance.
2021-09-17 15:09:24 |INFO |main |Jdk14Logger.java:87 |org.springframework.aop.framework.CglibAopProxy |Final method [public final reactor.core.publisher.Mono reactor.ipc.netty.http.client.HttpClient.ws(java.lang.String,java.util.function.Consumer,java.lang.String)] cannot get proxied via CGLIB: Calls to this method will NOT be routed to the target instance and might lead to NPEs against uninitialized fields in the proxy instance.
2021-09-17 15:09:24 |INFO |main |Jdk14Logger.java:87 |org.springframework.aop.framework.CglibAopProxy |Final method [public final reactor.core.publisher.Mono reactor.ipc.netty.http.client.HttpClient.ws(java.lang.String)] cannot get proxied via CGLIB: Calls to this method will NOT be routed to the target instance and might lead to NPEs against uninitialized fields in the proxy instance.
2021-09-17 15:09:25 |INFO |main |Jdk14Logger.java:87 |org.springframework.cloud.gateway.route.RouteDefinitionRouteLocator |Loaded RoutePredicateFactory [After]
2021-09-17 15:09:25 |INFO |main |Jdk14Logger.java:87 |org.springframework.cloud.gateway.route.RouteDefinitionRouteLocator |Loaded RoutePredicateFactory [Before]
2021-09-17 15:09:25 |INFO |main |Jdk14Logger.java:87 |org.springframework.cloud.gateway.route.RouteDefinitionRouteLocator |Loaded RoutePredicateFactory [Between]
2021-09-17 15:09:25 |INFO |main |Jdk14Logger.java:87 |org.springframework.cloud.gateway.route.RouteDefinitionRouteLocator |Loaded RoutePredicateFactory [Cookie]
2021-09-17 15:09:25 |INFO |main |Jdk14Logger.java:87 |org.springframework.cloud.gateway.route.RouteDefinitionRouteLocator |Loaded RoutePredicateFactory [Header]
2021-09-17 15:09:25 |INFO |main |Jdk14Logger.java:87 |org.springframework.cloud.gateway.route.RouteDefinitionRouteLocator |Loaded RoutePredicateFactory [Host]
2021-09-17 15:09:25 |INFO |main |Jdk14Logger.java:87 |org.springframework.cloud.gateway.route.RouteDefinitionRouteLocator |Loaded RoutePredicateFactory [Method]
2021-09-17 15:09:25 |INFO |main |Jdk14Logger.java:87 |org.springframework.cloud.gateway.route.RouteDefinitionRouteLocator |Loaded RoutePredicateFactory [Path]
2021-09-17 15:09:25 |INFO |main |Jdk14Logger.java:87 |org.springframework.cloud.gateway.route.RouteDefinitionRouteLocator |Loaded RoutePredicateFactory [Query]
2021-09-17 15:09:25 |INFO |main |Jdk14Logger.java:87 |org.springframework.cloud.gateway.route.RouteDefinitionRouteLocator |Loaded RoutePredicateFactory [ReadBodyPredicateFactory]
2021-09-17 15:09:25 |INFO |main |Jdk14Logger.java:87 |org.springframework.cloud.gateway.route.RouteDefinitionRouteLocator |Loaded RoutePredicateFactory [RemoteAddr]
2021-09-17 15:09:25 |INFO |main |Jdk14Logger.java:87 |org.springframework.cloud.gateway.route.RouteDefinitionRouteLocator |Loaded RoutePredicateFactory [Weight]
2021-09-17 15:09:26 |INFO |main |InitUtils.java:56 |com.alibaba.nacos.client.naming |initializer namespace from System Property :null
2021-09-17 15:09:26 |INFO |main |InitUtils.java:65 |com.alibaba.nacos.client.naming |initializer namespace from System Environment :null
2021-09-17 15:09:26 |INFO |main |InitUtils.java:75 |com.alibaba.nacos.client.naming |initializer namespace from System Property :null
2021-09-17 15:09:26 |WARN |main |URLConfigurationSource.java:121 |com.netflix.config.sources.URLConfigurationSource |No URLs will be polled as dynamic configuration sources.
2021-09-17 15:09:26 |INFO |main |URLConfigurationSource.java:122 |com.netflix.config.sources.URLConfigurationSource |To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
2021-09-17 15:09:26 |INFO |main |DynamicPropertyFactory.java:281 |com.netflix.config.DynamicPropertyFactory |DynamicPropertyFactory is initialized with configuration sources: com.netflix.config.ConcurrentCompositeConfiguration@3b78c683
2021-09-17 15:09:27 |INFO |main |Jdk14Logger.java:87 |org.springframework.boot.actuate.endpoint.web.EndpointLinksResolver |Exposing 2 endpoint(s) beneath base path '/actuator'
2021-09-17 15:09:27 |INFO |main |Jdk14Logger.java:87 |org.springframework.boot.actuate.endpoint.web.reactive.WebFluxEndpointHandlerMapping |Mapped "{[/actuator/health],methods=[GET],produces=[application/vnd.spring-boot.actuator.v2+json || application/json]}" onto public org.reactivestreams.Publisher<org.springframework.http.ResponseEntity<java.lang.Object>> org.springframework.boot.actuate.endpoint.web.reactive.AbstractWebFluxEndpointHandlerMapping$ReadOperationHandler.handle(org.springframework.web.server.ServerWebExchange)
2021-09-17 15:09:27 |INFO |main |Jdk14Logger.java:87 |org.springframework.boot.actuate.endpoint.web.reactive.WebFluxEndpointHandlerMapping |Mapped "{[/actuator/info],methods=[GET],produces=[application/vnd.spring-boot.actuator.v2+json || application/json]}" onto public org.reactivestreams.Publisher<org.springframework.http.ResponseEntity<java.lang.Object>> org.springframework.boot.actuate.endpoint.web.reactive.AbstractWebFluxEndpointHandlerMapping$ReadOperationHandler.handle(org.springframework.web.server.ServerWebExchange)
2021-09-17 15:09:27 |INFO |main |Jdk14Logger.java:87 |org.springframework.boot.actuate.endpoint.web.reactive.WebFluxEndpointHandlerMapping |Mapped "{[/actuator],methods=[GET],produces=[application/vnd.spring-boot.actuator.v2+json || application/json]}" onto protected java.util.Map<java.lang.String, java.util.Map<java.lang.String, org.springframework.boot.actuate.endpoint.web.Link>> org.springframework.boot.actuate.endpoint.web.reactive.WebFluxEndpointHandlerMapping.links(org.springframework.web.server.ServerWebExchange)
2021-09-17 15:09:27 |INFO |main |Jdk14Logger.java:87 |org.springframework.web.reactive.result.method.annotation.ControllerMethodResolver |Looking for @ControllerAdvice: org.springframework.boot.web.reactive.context.AnnotationConfigReactiveWebServerApplicationContext@56aaaecd: startup date [Fri Sep 17 15:09:19 CST 2021]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@1e1a0406
2021-09-17 15:09:27 |WARN |main |URLConfigurationSource.java:121 |com.netflix.config.sources.URLConfigurationSource |No URLs will be polled as dynamic configuration sources.
2021-09-17 15:09:27 |INFO |main |URLConfigurationSource.java:122 |com.netflix.config.sources.URLConfigurationSource |To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
2021-09-17 15:09:27 |INFO |main |Jdk14Logger.java:87 |org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler |Initializing ExecutorService 'Nacso-Watch-Task-Scheduler'
2021-09-17 15:09:28 |INFO |main |Jdk14Logger.java:87 |org.springframework.jmx.export.annotation.AnnotationMBeanExporter |Registering beans for JMX exposure on startup
2021-09-17 15:09:29 |INFO |main |Jdk14Logger.java:87 |org.springframework.jmx.export.annotation.AnnotationMBeanExporter |Bean with name 'environmentManager' has been autodetected for JMX exposure
2021-09-17 15:09:29 |INFO |main |Jdk14Logger.java:87 |org.springframework.jmx.export.annotation.AnnotationMBeanExporter |Bean with name 'configurationPropertiesRebinder' has been autodetected for JMX exposure
2021-09-17 15:09:29 |INFO |main |Jdk14Logger.java:87 |org.springframework.jmx.export.annotation.AnnotationMBeanExporter |Bean with name 'refreshScope' has been autodetected for JMX exposure
2021-09-17 15:09:29 |INFO |main |Jdk14Logger.java:87 |org.springframework.jmx.export.annotation.AnnotationMBeanExporter |Located managed bean 'environmentManager': registering with JMX server as MBean [org.springframework.cloud.context.environment:name=environmentManager,type=EnvironmentManager]
2021-09-17 15:09:29 |INFO |main |Jdk14Logger.java:87 |org.springframework.jmx.export.annotation.AnnotationMBeanExporter |Located managed bean 'refreshScope': registering with JMX server as MBean [org.springframework.cloud.context.scope.refresh:name=refreshScope,type=RefreshScope]
2021-09-17 15:09:29 |INFO |main |Jdk14Logger.java:87 |org.springframework.jmx.export.annotation.AnnotationMBeanExporter |Located managed bean 'configurationPropertiesRebinder': registering with JMX server as MBean [org.springframework.cloud.context.properties:name=configurationPropertiesRebinder,context=56aaaecd,type=ConfigurationPropertiesRebinder]
2021-09-17 15:09:29 |INFO |main |Jdk14Logger.java:87 |org.springframework.context.support.DefaultLifecycleProcessor |Starting beans in phase 0
Process finished with exit code 1