springboot启动报错

 .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v2.0.4.RELEASE)

2019-05-27 17:08:12.198  INFO 9196 --- [           main] com.ApplicationRibbon                    : No active profile set, falling back to default profiles: default
2019-05-27 17:08:12.210  INFO 9196 --- [           main] ConfigServletWebServerApplicationContext : Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@2d83c5a5: startup date [Mon May 27 17:08:12 CST 2019]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@6b88ca8c
2019-05-27 17:08:14.803  WARN 9196 --- [           main] o.m.s.mapper.ClassPathMapperScanner      : No MyBatis mapper was found in '[com]' package. Please check your configuration.
2019-05-27 17:08:15.079  INFO 9196 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Overriding bean definition for bean 'dataSource' with a different definition: replacing [Root bean: class [null]; scope=refresh; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=false; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration$Hikari; factoryMethodName=dataSource; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Hikari.class]] with [Root bean: class [org.springframework.aop.scope.ScopedProxyFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in BeanDefinition defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Hikari.class]]
2019-05-27 17:08:15.247  INFO 9196 --- [           main] o.s.cloud.context.scope.GenericScope     : BeanFactory id=ab381ff0-b902-3a70-a8dd-5dd3353dd163
2019-05-27 17:08:15.264  INFO 9196 --- [           main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2019-05-27 17:08:15.384  INFO 9196 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$ba779302] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019-05-27 17:08:15.419  INFO 9196 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$d69195ff] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019-05-27 17:08:15.785  INFO 9196 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 9000 (http)
2019-05-27 17:08:15.809  INFO 9196 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2019-05-27 17:08:15.809  INFO 9196 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet Engine: Apache Tomcat/8.5.32
2019-05-27 17:08:15.814  INFO 9196 --- [ost-startStop-1] o.a.catalina.core.AprLifecycleListener   : The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [C:\Program Files\Java\jdk1.8.0_131\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;F:\openSoft\Python27\;F:\openSoft\Python27\Scripts;F:\openSoft\Python36-32\Scripts\;F:\openSoft\Python36-32\;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\Java\jdk1.8.0_131\bin;D:\VisualSVN Server\bin;C:\Program Files\TortoiseSVN\bin;F:\openSoft\Python36-32;C:\Program Files\Java\jdk1.8.0_131;E:\nodejs\;E:\nodejs\node_global;E:\dateOfficeSoft\Microsoft VS Code\bin;D:\fileSoft\OpenSSL-Win64\bin\openssl.cfg;D:\tomcats\tomcat8_one;D:\tomcats\tomcat8_three;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Users\111\AppData\Roaming\npm;E:\dateOfficeSoft\Microsoft VS Code\bin;C:\Users\111\AppData\Local\BypassRuntm;.]
2019-05-27 17:08:15.917  INFO 9196 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2019-05-27 17:08:15.917  INFO 9196 --- [ost-startStop-1] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 3707 ms
2019-05-27 17:08:16.189  WARN 9196 --- [ost-startStop-1] c.n.c.sources.URLConfigurationSource     : No URLs will be polled as dynamic configuration sources.
2019-05-27 17:08:16.190  INFO 9196 --- [ost-startStop-1] 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-27 17:08:16.199  INFO 9196 --- [ost-startStop-1] c.netflix.config.DynamicPropertyFactory  : DynamicPropertyFactory is initialized with configuration sources: com.netflix.config.ConcurrentCompositeConfiguration@9d243ca
2019-05-27 17:08:16.417 ERROR 9196 --- [ost-startStop-1] o.s.b.web.embedded.tomcat.TomcatStarter  : Error starting Tomcat context. Exception: org.springframework.beans.factory.BeanCreationException. Message: Error creating bean with name 'servletEndpointRegistrar' defined in class path resource [org/springframework/boot/actuate/autoconfigure/endpoint/web/ServletEndpointManagementContextConfiguration$WebMvcServletEndpointManagementContextConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.actuate.endpoint.web.ServletEndpointRegistrar]: Factory method 'servletEndpointRegistrar' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'healthEndpoint' defined in class path resource [org/springframework/boot/actuate/autoconfigure/health/HealthEndpointConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.actuate.health.HealthEndpoint]: Factory method 'healthEndpoint' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.boot.actuate.autoconfigure.jdbc.DataSourceHealthIndicatorAutoConfiguration': Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.actuate.autoconfigure.jdbc.DataSourceHealthIndicatorAutoConfiguration$$EnhancerBySpringCGLIB$$295be488]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource': Post-processing of FactoryBean's singleton object failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scopedTarget.dataSource' defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Hikari.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.zaxxer.hikari.HikariDataSource]: Factory method 'dataSource' threw exception; nested exception is org.springframework.boot.autoconfigure.jdbc.DataSourceProperties$DataSourceBeanCreationException: Failed to determine a suitable driver class
2019-05-27 17:08:16.438  INFO 9196 --- [           main] o.apache.catalina.core.StandardService   : Stopping service [Tomcat]
2019-05-27 17:08:16.451  WARN 9196 --- [           main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat
2019-05-27 17:08:16.463  INFO 9196 --- [           main] ConditionEvaluationReportLoggingListener : 

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2019-05-27 17:08:16.470 ERROR 9196 --- [           main] o.s.b.d.LoggingFailureAnalysisReporter   : 

***************************
APPLICATION FAILED TO START
***************************

Description:

Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.

Reason: Failed to determine a suitable driver class


Action:

Consider the following:
	If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
	If you have database settings to be loaded from a particular profile you may need to activate it (no profiles are currently active).

Disconnected from the target VM, address: '127.0.0.1:51267', transport: 'socket'

Process finished with exit code 1

出现这种错误很让人头疼,没有跟没有据的,让人一时摸不到头脑,看了很多帖子,但是都没有太大的关系,最后那查看官方文档,发现springboot启动时会加载DataSource数据的一些参数,如果此时你没有排除掉,也没有去重定义数据源的一些参数,就会报这种错。
但是奇怪的是,一开始我也是没有设置这些东西,他也没有报错,今天不知道怎么回事,以启动就报错了,很是奇怪。至今无解。
下面来给大家解答一下这个问题,其实很好解决,我只需要在application启动类加上一个注解排除掉DataSource数据源属性设置就OK 了。
在这里插入图片描述
加上这个注解之后再启动,就OK了。完美解决,很开心。

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v2.0.4.RELEASE)

2019-05-27 17:21:00.826  INFO 14368 --- [           main] com.ApplicationRibbon                    : No active profile set, falling back to default profiles: default
2019-05-27 17:21:00.839  INFO 14368 --- [           main] ConfigServletWebServerApplicationContext : Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@76f10035: startup date [Mon May 27 17:21:00 CST 2019]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@64c63c79
2019-05-27 17:21:03.468  INFO 14368 --- [           main] o.s.cloud.context.scope.GenericScope     : BeanFactory id=8009e0ad-5676-3fb5-beb3-0fb994c397ae
2019-05-27 17:21:03.490  INFO 14368 --- [           main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2019-05-27 17:21:03.628  INFO 14368 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$a363f399] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019-05-27 17:21:04.022  INFO 14368 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 9000 (http)
2019-05-27 17:21:04.045  INFO 14368 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2019-05-27 17:21:04.045  INFO 14368 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet Engine: Apache Tomcat/8.5.32
2019-05-27 17:21:04.050  INFO 14368 --- [ost-startStop-1] o.a.catalina.core.AprLifecycleListener   : The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [C:\Program Files\Java\jdk1.8.0_131\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;F:\openSoft\Python27\;F:\openSoft\Python27\Scripts;F:\openSoft\Python36-32\Scripts\;F:\openSoft\Python36-32\;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\Java\jdk1.8.0_131\bin;D:\VisualSVN Server\bin;C:\Program Files\TortoiseSVN\bin;F:\openSoft\Python36-32;C:\Program Files\Java\jdk1.8.0_131;E:\nodejs\;E:\nodejs\node_global;E:\dateOfficeSoft\Microsoft VS Code\bin;D:\fileSoft\OpenSSL-Win64\bin\openssl.cfg;D:\tomcats\tomcat8_one;D:\tomcats\tomcat8_three;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Users\111\AppData\Roaming\npm;E:\dateOfficeSoft\Microsoft VS Code\bin;C:\Users\111\AppData\Local\BypassRuntm;.]
2019-05-27 17:21:04.176  INFO 14368 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2019-05-27 17:21:04.176  INFO 14368 --- [ost-startStop-1] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 3337 ms
2019-05-27 17:21:04.351  WARN 14368 --- [ost-startStop-1] c.n.c.sources.URLConfigurationSource     : No URLs will be polled as dynamic configuration sources.
2019-05-27 17:21:04.351  INFO 14368 --- [ost-startStop-1] 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-27 17:21:04.359  INFO 14368 --- [ost-startStop-1] c.netflix.config.DynamicPropertyFactory  : DynamicPropertyFactory is initialized with configuration sources: com.netflix.config.ConcurrentCompositeConfiguration@71990200
2019-05-27 17:21:05.911  INFO 14368 --- [ost-startStop-1] o.s.cloud.commons.util.InetUtils         : Cannot determine local hostname
2019-05-27 17:21:07.191  INFO 14368 --- [ost-startStop-1] o.s.cloud.commons.util.InetUtils         : Cannot determine local hostname
2019-05-27 17:21:07.616  INFO 14368 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'characterEncodingFilter' to: [/*]
2019-05-27 17:21:07.616  INFO 14368 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'webMvcMetricsFilter' to: [/*]
2019-05-27 17:21:07.616  INFO 14368 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2019-05-27 17:21:07.616  INFO 14368 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'httpPutFormContentFilter' to: [/*]
2019-05-27 17:21:07.617  INFO 14368 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'requestContextFilter' to: [/*]
2019-05-27 17:21:07.617  INFO 14368 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'httpTraceFilter' to: [/*]
2019-05-27 17:21:07.617  INFO 14368 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean  : Servlet dispatcherServlet mapped to [/]
2019-05-27 17:21:07.699  WARN 14368 --- [           main] c.n.c.sources.URLConfigurationSource     : No URLs will be polled as dynamic configuration sources.
2019-05-27 17:21:07.699  INFO 14368 --- [           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-27 17:21:07.790  INFO 14368 --- [           main] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2019-05-27 17:21:08.012  INFO 14368 --- [           main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@76f10035: startup date [Mon May 27 17:21:00 CST 2019]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@64c63c79
2019-05-27 17:21:08.076  INFO 14368 --- [           main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/ribbonConsumer],methods=[GET],produces=[application/json;charset=UTF-8]}" onto public java.lang.String com.huayi.web.ConsumerController.helloConsumer()
2019-05-27 17:21:08.082  INFO 14368 --- [           main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
2019-05-27 17:21:08.082  INFO 14368 --- [           main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2019-05-27 17:21:08.114  INFO 14368 --- [           main] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2019-05-27 17:21:08.114  INFO 14368 --- [           main] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2019-05-27 17:21:08.572  INFO 14368 --- [           main] o.s.ui.freemarker.SpringTemplateLoader   : SpringTemplateLoader for FreeMarker: using resource loader [org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@76f10035: startup date [Mon May 27 17:21:00 CST 2019]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@64c63c79] and template loader path [classpath:/templates/]
2019-05-27 17:21:08.573  INFO 14368 --- [           main] o.s.w.s.v.f.FreeMarkerConfigurer         : ClassTemplateLoader for Spring macros added to FreeMarker configuration
2019-05-27 17:21:08.776  INFO 14368 --- [           main] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 2 endpoint(s) beneath base path '/actuator'
2019-05-27 17:21:08.791  INFO 14368 --- [           main] s.b.a.e.w.s.WebMvcEndpointHandlerMapping : Mapped "{[/actuator/health],methods=[GET],produces=[application/vnd.spring-boot.actuator.v2+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.web.servlet.AbstractWebMvcEndpointHandlerMapping$OperationHandler.handle(javax.servlet.http.HttpServletRequest,java.util.Map<java.lang.String, java.lang.String>)
2019-05-27 17:21:08.792  INFO 14368 --- [           main] s.b.a.e.w.s.WebMvcEndpointHandlerMapping : Mapped "{[/actuator/info],methods=[GET],produces=[application/vnd.spring-boot.actuator.v2+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.web.servlet.AbstractWebMvcEndpointHandlerMapping$OperationHandler.handle(javax.servlet.http.HttpServletRequest,java.util.Map<java.lang.String, java.lang.String>)
2019-05-27 17:21:08.793  INFO 14368 --- [           main] s.b.a.e.w.s.WebMvcEndpointHandlerMapping : 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.servlet.WebMvcEndpointHandlerMapping.links(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2019-05-27 17:21:08.858  INFO 14368 --- [           main] o.s.j.e.a.AnnotationMBeanExporter        : Registering beans for JMX exposure on startup
2019-05-27 17:21:08.867  INFO 14368 --- [           main] o.s.j.e.a.AnnotationMBeanExporter        : Bean with name 'environmentManager' has been autodetected for JMX exposure
2019-05-27 17:21:08.869  INFO 14368 --- [           main] o.s.j.e.a.AnnotationMBeanExporter        : Bean with name 'refreshScope' has been autodetected for JMX exposure
2019-05-27 17:21:08.870  INFO 14368 --- [           main] o.s.j.e.a.AnnotationMBeanExporter        : Bean with name 'configurationPropertiesRebinder' has been autodetected for JMX exposure
2019-05-27 17:21:08.873  INFO 14368 --- [           main] o.s.j.e.a.AnnotationMBeanExporter        : Located managed bean 'environmentManager': registering with JMX server as MBean [org.springframework.cloud.context.environment:name=environmentManager,type=EnvironmentManager]
2019-05-27 17:21:08.882  INFO 14368 --- [           main] o.s.j.e.a.AnnotationMBeanExporter        : Located managed bean 'refreshScope': registering with JMX server as MBean [org.springframework.cloud.context.scope.refresh:name=refreshScope,type=RefreshScope]
2019-05-27 17:21:08.894  INFO 14368 --- [           main] o.s.j.e.a.AnnotationMBeanExporter        : Located managed bean 'configurationPropertiesRebinder': registering with JMX server as MBean [org.springframework.cloud.context.properties:name=configurationPropertiesRebinder,context=76f10035,type=ConfigurationPropertiesRebinder]
2019-05-27 17:21:08.905  INFO 14368 --- [           main] o.s.c.support.DefaultLifecycleProcessor  : Starting beans in phase 0
2019-05-27 17:21:08.919  INFO 14368 --- [           main] o.s.c.n.eureka.InstanceInfoFactory       : Setting initial instance status as: STARTING
2019-05-27 17:21:08.951  INFO 14368 --- [           main] com.netflix.discovery.DiscoveryClient    : Initializing Eureka in region us-east-1
2019-05-27 17:21:09.233  INFO 14368 --- [           main] c.n.d.provider.DiscoveryJerseyProvider   : Using JSON encoding codec LegacyJacksonJson
2019-05-27 17:21:09.233  INFO 14368 --- [           main] c.n.d.provider.DiscoveryJerseyProvider   : Using JSON decoding codec LegacyJacksonJson
2019-05-27 17:21:09.341  INFO 14368 --- [           main] c.n.d.provider.DiscoveryJerseyProvider   : Using XML encoding codec XStreamXml
2019-05-27 17:21:09.342  INFO 14368 --- [           main] c.n.d.provider.DiscoveryJerseyProvider   : Using XML decoding codec XStreamXml
2019-05-27 17:21:09.545  INFO 14368 --- [           main] c.n.d.s.r.aws.ConfigClusterResolver      : Resolving eureka endpoints via configuration
2019-05-27 17:21:09.660  INFO 14368 --- [           main] com.netflix.discovery.DiscoveryClient    : Disable delta property : false
2019-05-27 17:21:09.661  INFO 14368 --- [           main] com.netflix.discovery.DiscoveryClient    : Single vip registry refresh property : null
2019-05-27 17:21:09.661  INFO 14368 --- [           main] com.netflix.discovery.DiscoveryClient    : Force full registry fetch : false
2019-05-27 17:21:09.661  INFO 14368 --- [           main] com.netflix.discovery.DiscoveryClient    : Application is null : false
2019-05-27 17:21:09.661  INFO 14368 --- [           main] com.netflix.discovery.DiscoveryClient    : Registered Applications size is zero : true
2019-05-27 17:21:09.661  INFO 14368 --- [           main] com.netflix.discovery.DiscoveryClient    : Application version is -1: true
2019-05-27 17:21:09.661  INFO 14368 --- [           main] com.netflix.discovery.DiscoveryClient    : Getting all instance registry info from the eureka server
2019-05-27 17:21:09.831  INFO 14368 --- [           main] com.netflix.discovery.DiscoveryClient    : The response status is 200
2019-05-27 17:21:09.834  INFO 14368 --- [           main] com.netflix.discovery.DiscoveryClient    : Starting heartbeat executor: renew interval is: 30
2019-05-27 17:21:09.836  INFO 14368 --- [           main] c.n.discovery.InstanceInfoReplicator     : InstanceInfoReplicator onDemand update allowed rate per min is 4
2019-05-27 17:21:09.840  INFO 14368 --- [           main] com.netflix.discovery.DiscoveryClient    : Discovery Client initialized at timestamp 1558948869839 with initial instances count: 3
2019-05-27 17:21:09.845  INFO 14368 --- [           main] o.s.c.n.e.s.EurekaServiceRegistry        : Registering application RIBBON-CONSUMER with eureka with status UP
2019-05-27 17:21:09.846  INFO 14368 --- [           main] com.netflix.discovery.DiscoveryClient    : Saw local status change event StatusChangeEvent [timestamp=1558948869846, current=UP, previous=STARTING]
2019-05-27 17:21:09.848  INFO 14368 --- [nfoReplicator-0] com.netflix.discovery.DiscoveryClient    : DiscoveryClient_RIBBON-CONSUMER/localhost:ribbon-consumer:9000: registering service...
2019-05-27 17:21:09.883  INFO 14368 --- [nfoReplicator-0] com.netflix.discovery.DiscoveryClient    : DiscoveryClient_RIBBON-CONSUMER/localhost:ribbon-consumer:9000 - registration status: 204
2019-05-27 17:21:09.895  INFO 14368 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 9000 (http) with context path ''
2019-05-27 17:21:09.896  INFO 14368 --- [           main] .s.c.n.e.s.EurekaAutoServiceRegistration : Updating port to 9000
2019-05-27 17:21:09.898  INFO 14368 --- [           main] com.ApplicationRibbon                    : Started ApplicationRibbon in 12.602 seconds (JVM running for 13.408)
2019-05-27 17:21:10.593  INFO 14368 --- [on(2)-127.0.0.1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring FrameworkServlet 'dispatcherServlet'
2019-05-27 17:21:10.593  INFO 14368 --- [on(2)-127.0.0.1] o.s.web.servlet.DispatcherServlet        : FrameworkServlet 'dispatcherServlet': initialization started
2019-05-27 17:21:10.611  INFO 14368 --- [on(2)-127.0.0.1] o.s.web.servlet.DispatcherServlet        : FrameworkServlet 'dispatcherServlet': initialization completed in 18 ms
  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值