tiger_in_hand 2021-09-17 11:42 采纳率: 100%
浏览 40
已结题

从svn上拉下来的项目,其中gateway模块在其他电脑上没问题,在我的电脑上,如果我重装idea后第一次启动,可以启动,但是断开之后第二次及之后的启动就会异常报错。

从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

  • 写回答

3条回答 默认 最新

  • tiger_in_hand 2021-09-17 18:08
    关注

    找到问题了,是yaml文件中有这个微服务的名字,然后nacos中也有这个服务的名字,删掉yaml中的这个微服务的名字就可以了。但是之前这样是可以的,现在这样不行了,具体原因我也不知道。

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

问题事件

  • 系统已结题 9月26日
  • 已采纳回答 9月18日
  • 修改了问题 9月17日
  • 创建了问题 9月17日

悬赏问题

  • ¥60 更换迈创SOL6M4AE卡的时候,驱动要重新装才能使用,怎么解决?
  • ¥15 让node服务器有自动加载文件的功能
  • ¥15 jmeter脚本回放有的是对的有的是错的
  • ¥15 r语言蛋白组学相关问题
  • ¥15 Python时间序列如何拟合疏系数模型
  • ¥15 求学软件的前人们指明方向🥺
  • ¥50 如何增强飞上天的树莓派的热点信号强度,以使得笔记本可以在地面实现远程桌面连接
  • ¥20 双层网络上信息-疾病传播
  • ¥50 paddlepaddle pinn
  • ¥20 idea运行测试代码报错问题