使用springboot启动一切正常 run on server 跑起来无法访问 eureka首页
2019-05-20 17:38:53.768 INFO 7884 --- [ main] com.example.demo.ServletInitializer : No active profile set, falling back to default profiles: default
2019-05-20 17:38:55.377 WARN 7884 --- [ main] o.s.boot.actuate.endpoint.EndpointId : Endpoint ID 'service-registry' contains invalid characters, please migrate to a valid format.
2019-05-20 17:38:56.471 INFO 7884 --- [ main] o.s.cloud.context.scope.GenericScope : BeanFactory id=526ac23a-b26e-3353-b9ab-50e7bcf72d48
2019-05-20 17:38:56.706 INFO 7884 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$976b1f47] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019-05-20 17:38:56.714 INFO 7884 --- [ main] o.a.c.c.C.[.[localhost].[/eureka] : Initializing Spring embedded WebApplicationContext
2019-05-20 17:38:56.714 INFO 7884 --- [ main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 2914 ms
2019-05-20 17:38:57.117 WARN 7884 --- [ main] c.n.c.sources.URLConfigurationSource : No URLs will be polled as dynamic configuration sources.
2019-05-20 17:38:57.117 INFO 7884 --- [ main] c.n.c.sources.URLConfigurationSource : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
2019-05-20 17:38:57.151 INFO 7884 --- [ main] c.netflix.config.DynamicPropertyFactory : DynamicPropertyFactory is initialized with configuration sources: com.netflix.config.ConcurrentCompositeConfiguration@5d0b5f31
2019-05-20 17:38:59.724 WARN 7884 --- [ main] c.n.c.sources.URLConfigurationSource : No URLs will be polled as dynamic configuration sources.
2019-05-20 17:38:59.725 INFO 7884 --- [ main] c.n.c.sources.URLConfigurationSource : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
2019-05-20 17:39:00.103 INFO 7884 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'
2019-05-20 17:39:01.714 INFO 7884 --- [ main] o.s.c.n.eureka.InstanceInfoFactory : Setting initial instance status as: STARTING
2019-05-20 17:39:01.804 INFO 7884 --- [ main] com.netflix.discovery.DiscoveryClient : Initializing Eureka in region us-east-1
2019-05-20 17:39:01.806 INFO 7884 --- [ main] com.netflix.discovery.DiscoveryClient : Client configured to neither register nor query for data.
2019-05-20 17:39:01.829 INFO 7884 --- [ main] com.netflix.discovery.DiscoveryClient : Discovery Client initialized at timestamp 1558345141827 with initial instances count: 0
2019-05-20 17:39:01.930 INFO 7884 --- [ main] c.n.eureka.DefaultEurekaServerContext : Initializing ...
2019-05-20 17:39:01.935 WARN 7884 --- [ main] c.n.eureka.cluster.PeerEurekaNodes : The replica size seems to be empty. Check the route 53 DNS Registry
2019-05-20 17:39:01.975 INFO 7884 --- [ main] c.n.e.registry.AbstractInstanceRegistry : Finished initializing remote region registries. All known remote regions: []
2019-05-20 17:39:01.976 INFO 7884 --- [ main] c.n.eureka.DefaultEurekaServerContext : Initialized
2019-05-20 17:39:02.009 INFO 7884 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path '/actuator'
2019-05-20 17:39:02.227 INFO 7884 --- [ main] o.s.c.n.e.s.EurekaServiceRegistry : Registering application service-eureka with eureka with status UP
2019-05-20 17:39:02.235 INFO 7884 --- [ Thread-13] o.s.c.n.e.server.EurekaServerBootstrap : Setting the eureka configuration..
2019-05-20 17:39:02.237 INFO 7884 --- [ Thread-13] o.s.c.n.e.server.EurekaServerBootstrap : Eureka data center value eureka.datacenter is not set, defaulting to default
2019-05-20 17:39:02.239 INFO 7884 --- [ Thread-13] o.s.c.n.e.server.EurekaServerBootstrap : Eureka environment value eureka.environment is not set, defaulting to test
2019-05-20 17:39:02.269 INFO 7884 --- [ Thread-13] o.s.c.n.e.server.EurekaServerBootstrap : isAws returned false
2019-05-20 17:39:02.270 INFO 7884 --- [ Thread-13] o.s.c.n.e.server.EurekaServerBootstrap : Initialized server context
2019-05-20 17:39:02.270 INFO 7884 --- [ Thread-13] c.n.e.r.PeerAwareInstanceRegistryImpl : Got 1 instances from neighboring DS node
2019-05-20 17:39:02.270 INFO 7884 --- [ Thread-13] c.n.e.r.PeerAwareInstanceRegistryImpl : Renew threshold is: 1
2019-05-20 17:39:02.270 INFO 7884 --- [ Thread-13] c.n.e.r.PeerAwareInstanceRegistryImpl : Changing status to UP
2019-05-20 17:39:02.272 INFO 7884 --- [ main] com.example.demo.ServletInitializer : Started ServletInitializer in 11.507 seconds (JVM running for 19.123)
2019-05-20 17:39:02.291 INFO 7884 --- [ Thread-13] e.s.EurekaServerInitializerConfiguration : Started Eureka Server
2019-05-20 17:39:02.465 INFO 7884 --- [ main] org.apache.jasper.servlet.TldScanner : 至少有一个JAR被扫描用于TLD但尚未包含TLD。 为此记录器启用调试日志记录,以获取已扫描但未在其中找到TLD的完整JAR列表。 在扫描期间跳过不需要的JAR可以缩短启动时间和JSP编译时间。
2019-05-20 17:39:02.690 INFO 7884 --- [ main] c.s.j.s.i.a.WebApplicationImpl : Initiating Jersey application, version 'Jersey: 1.19.1 03/11/2016 02:08 PM'
2019-05-20 17:39:02.885 INFO 7884 --- [ main] c.n.d.provider.DiscoveryJerseyProvider : Using JSON encoding codec LegacyJacksonJson
2019-05-20 17:39:02.885 INFO 7884 --- [ main] c.n.d.provider.DiscoveryJerseyProvider : Using JSON decoding codec LegacyJacksonJson
2019-05-20 17:39:02.885 INFO 7884 --- [ main] c.n.d.provider.DiscoveryJerseyProvider : Using XML encoding codec XStreamXml
2019-05-20 17:39:02.885 INFO 7884 --- [ main] c.n.d.provider.DiscoveryJerseyProvider : Using XML decoding codec XStreamXml
2019-05-20 17:39:03.458 INFO 7884 --- [ main] org.apache.catalina.startup.HostConfig : Deployment of deployment descriptor [E:\apache-tomcat-9.0.17\conf\Catalina\localhost\eureka.xml] has finished in [18,757] ms
2019-05-20 17:39:03.459 INFO 7884 --- [ main] org.apache.catalina.startup.HostConfig : 把web 应用程序部署到目录 [E:\apache-tomcat-9.0.17\webapps\docs]
2019-05-20 17:39:03.487 INFO 7884 --- [ main] org.apache.catalina.startup.HostConfig : Deployment of web application directory [E:\apache-tomcat-9.0.17\webapps\docs] has finished in [28] ms
2019-05-20 17:39:03.488 INFO 7884 --- [ main] org.apache.catalina.startup.HostConfig : 把web 应用程序部署到目录 [E:\apache-tomcat-9.0.17\webapps\examples]
2019-05-20 17:39:03.764 INFO 7884 --- [ main] o.a.c.c.C.[.[localhost].[/examples] : ContextListener: contextInitialized()
2019-05-20 17:39:03.764 INFO 7884 --- [ main] o.a.c.c.C.[.[localhost].[/examples] : SessionListener: contextInitialized()
2019-05-20 17:39:03.766 INFO 7884 --- [ main] o.a.c.c.C.[.[localhost].[/examples] : ContextListener: attributeAdded('StockTicker', 'async.Stockticker@60157e9c')
2019-05-20 17:39:03.772 INFO 7884 --- [ main] org.apache.catalina.startup.HostConfig : Deployment of web application directory [E:\apache-tomcat-9.0.17\webapps\examples] has finished in [284] ms
2019-05-20 17:39:03.772 INFO 7884 --- [ main] org.apache.catalina.startup.HostConfig : 把web 应用程序部署到目录 [E:\apache-tomcat-9.0.17\webapps\host-manager]
2019-05-20 17:39:03.805 INFO 7884 --- [ main] org.apache.catalina.startup.HostConfig : Deployment of web application directory [E:\apache-tomcat-9.0.17\webapps\host-manager] has finished in [33] ms
2019-05-20 17:39:03.805 INFO 7884 --- [ main] org.apache.catalina.startup.HostConfig : 把web 应用程序部署到目录 [E:\apache-tomcat-9.0.17\webapps\manager]
2019-05-20 17:39:03.839 INFO 7884 --- [ main] org.apache.catalina.startup.HostConfig : Deployment of web application directory [E:\apache-tomcat-9.0.17\webapps\manager] has finished in [34] ms
2019-05-20 17:39:03.840 INFO 7884 --- [ main] org.apache.catalina.startup.HostConfig : 把web 应用程序部署到目录 [E:\apache-tomcat-9.0.17\webapps\ROOT]
2019-05-20 17:39:03.863 INFO 7884 --- [ main] org.apache.catalina.startup.HostConfig : Deployment of web application directory [E:\apache-tomcat-9.0.17\webapps\ROOT] has finished in [22] ms
2019-05-20 17:39:03.884 INFO 7884 --- [ main] org.apache.coyote.ajp.AjpNioProtocol : 开始协议处理句柄["ajp-nio-8009"]
2019-05-20 17:39:03.892 INFO 7884 --- [ main] org.apache.catalina.startup.Catalina : Server startup in [19,245] milliseconds
2019-05-20 17:39:05.298 INFO 7884 --- [p-nio-80-exec-3] o.a.c.c.C.[.[localhost].[/eureka] : Initializing Spring DispatcherServlet 'dispatcherServlet'
2019-05-20 17:39:05.302 INFO 7884 --- [p-nio-80-exec-3] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
2019-05-20 17:39:05.336 INFO 7884 --- [p-nio-80-exec-3] o.s.web.servlet.DispatcherServlet : Completed initialization in 33 ms
2019-05-20 17:39:05.997 ERROR 7884 --- [p-nio-80-exec-3] o.s.b.w.servlet.support.ErrorPageFilter : Cannot forward to error page for request [/] as the response has already been committed. As a result, the response may have the wrong status code. If your application is running on WebSphere Application Server you may be able to resolve this problem by setting com.ibm.ws.webcontainer.invokeFlushAfterService to false