spring boot启动报错

Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'esPublicController': Unsatisfied dependency expressed through field 'getCuTicker'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'io.dq.scouta.es.esdata.GetCuTicker' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
2018-08-28 10:24:00.400 WARN org.apache.catalina.loader.WebappClassLoaderBase Line:179 - The web application [ROOT] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
java.lang.Object.wait(Native Method)
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
com.mysql.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:43)
2018-08-28 10:24:00.469 INFO org.springframework.boot.autoconfigure.logging.AutoConfigurationReportLoggingInitializer Line:101 -

Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
2018-08-28 10:24:00.846 ERROR org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter Line:42 -

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

@Service("")

上一篇:Hadoop| YARN| 计数器| 压缩| 调优


下一篇:iOS TTF文件使用---改变字体