(春云一步步实现广告系统)21。系统错误汇总

  

广告系统学习过程中问题答疑

  

博客园

  

尤里卡集群启动报错

  

<强>回答

  

因为尤里卡在集群启动过程中,会连接集群中其他的机器进行数据同步,在这个过程中,如果别的服务还没有启动完成,就会出现<代码>拒绝连接:连接>   

AdSearch服务启动报错

  
 <代码类=" language-bash "> 2019-08-16 10:27:57.038错误73180 - - - - - -[主要]o.s.boot。SpringApplication:程序运行失败
  
  . lang。类(org.springframework.boot.autoconfigure.kafka IllegalStateException:反省失败。KafkaAnnotationDrivenConfiguration]从类加载器(sun.misc.Launcher AppClassLoader@18b4aac2美元)
  在org.springframework.util.ReflectionUtils.getDeclaredFields (ReflectionUtils.java: 760) ~ (spring-core-5.1.7.RELEASE.jar 5.1.7.RELEASE):
  在org.springframework.util.ReflectionUtils.doWithFields (ReflectionUtils.java: 725) ~ (spring-core-5.1.7.RELEASE.jar 5.1.7.RELEASE):
  在org.springframework.util.ReflectionUtils.doWithFields (ReflectionUtils.java: 710) ~ (spring-core-5.1.7.RELEASE.jar 5.1.7.RELEASE):
  在org.springframework.boot.test.mock.mockito.DefinitionsParser.parse (DefinitionsParser.java: 62) ~ (spring-boot-test-2.1.5.RELEASE.jar 2.1.5.RELEASE):
  在org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory (MockitoPostProcessor.java: 141) ~ (spring-boot-test-2.1.5.RELEASE.jar 2.1.5.RELEASE):
  在org.springframework.boot.test.mock.mockito.MockitoPostProcessor.postProcessBeanFactory (MockitoPostProcessor.java: 133) ~ (spring-boot-test-2.1.5.RELEASE.jar 2.1.5.RELEASE):
  在org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors (PostProcessorRegistrationDelegate.java: 286) ~ (spring-context-5.1.7.RELEASE.jar 5.1.7.RELEASE):
  在org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors (PostProcessorRegistrationDelegate.java: 174) ~ (spring-context-5.1.7.RELEASE.jar 5.1.7.RELEASE):
  在org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors (AbstractApplicationContext.java: 705) ~ (spring-context-5.1.7.RELEASE.jar 5.1.7.RELEASE):
  在org.springframework.context.support.AbstractApplicationContext.refresh (AbstractApplicationContext.java: 531) ~ (spring-context-5.1.7.RELEASE.jar 5.1.7.RELEASE):
  在org.springframework.boot.SpringApplication.refresh (SpringApplication.java: 775) ~ (spring-boot-2.1.5.RELEASE.jar 2.1.5.RELEASE):
  在org.springframework.boot.SpringApplication.refreshContext (SpringApplication.java: 397) ~ (spring-boot-2.1.5.RELEASE.jar 2.1.5.RELEASE):
  在org.springframework.boot.SpringApplication.run (SpringApplication.java: 316) ~ (spring-boot-2.1.5.RELEASE.jar 2.1.5.RELEASE):
  在org.springframework.boot.test.context.SpringBootContextLoader.loadContext (SpringBootContextLoader.java: 127) [spring-boot-test-2.1.5.RELEASE.jar 2.1.5.RELEASE):
  在org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal (DefaultCacheAwareContextLoaderDelegate.java: 99) [spring-test-5.1.7.RELEASE.jar 5.1.7.RELEASE):
  在org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext (DefaultCacheAwareContextLoaderDelegate.java: 117) [spring-test-5.1.7.RELEASE.jar 5.1.7.RELEASE):
  在org.springframework.test.context.support.DefaultTestContext.getApplicationContext (DefaultTestContext.java: 108) [spring-test-5.1.7.RELEASE.jar 5.1.7.RELEASE):
  在org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies (DependencyInjectionTestExecutionListener.java: 118) [spring-test-5.1.7.RELEASE.jar 5.1.7.RELEASE):
  在org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance (DependencyInjectionTestExecutionListener.java: 83) [spring-test-5.1.7.RELEASE.jar 5.1.7.RELEASE):
  在org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener.prepareTestInstance (SpringBootDependencyInjectionTestExecutionListener.java: 44) [spring-boot-test-autoconfigure-2.1.5.RELEASE.jar 2.1.5.RELEASE):
  在org.springframework.test.context.TestContextManager.prepareTestInstance (TestContextManager.java: 246) [spring-test-5.1.7.RELEASE.jar 5.1.7.RELEASE):
  org.springframework.test.context.junit4.SpringJUnit4Cla * * * unner.createTest (SpringJUnit4Cla * * * unner.java: 227) [spring-test-5.1.7.RELEASE.jar 5.1.7.RELEASE):
  在org.springframework.test.context.junit4.SpringJUnit4Cla * * *所用runreflectivecall 1.美元(SpringJUnit4Cla * * * unner.java: 289) [spring-test-5.1.7.RELEASE.jar 5.1.7.RELEASE):
  org.junit.internal.runners.model.ReflectiveCallable.run (ReflectiveCallable.java: 12) (junit-4.12.jar: 4.12)
  org.springframework.test.context.junit4.SpringJUnit4Cla * * * unner.methodBlock (SpringJUnit4Cla * * * unner.java: 291) [spring-test-5.1.7.RELEASE.jar 5.1.7.RELEASE):
  org.springframework.test.context.junit4.SpringJUnit4Cla * * * unner.runChild (SpringJUnit4Cla * * * unner.java: 246) [spring-test-5.1.7.RELEASE.jar 5.1.7.RELEASE):
  org.springframework.test.context.junit4.SpringJUnit4Cla * * * unner.runChild (SpringJUnit4Cla * * * unner.java: 97) [spring-test-5.1.7.RELEASE.jar 5.1.7.RELEASE):
  null
  null
  null
  null
  null
  null
  null
  null
  null
  null
  null
  null
  null
  null
  null
  null
  null
  null
  null
  null
  null
  null
  null
  null
  null
  null
  null
  null
  null
  null
  null
  null
  null
  null
  null
  null
  null
  null
  null
  null
  null
  null
  null
  null
  null
  null
  null

(春云一步步实现广告系统)21。系统错误汇总