严重: Exception sending context initialized event to listener instance of class org.springframework.boot.legacy.context.web.SpringBootContextLoaderListener
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'xxxx': Unsatisfied dependency expressed through field 'xxxx'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.xxx' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Qualifier(value=), @org.springframework.beans.factory.annotation.Autowired(required=true)}
SpringBoot启动时提示
1 看看报错的service是否加了@Service,不加Spring扫描不到
2 看看报错的类名上是否多加了@Service,多加也会提示这个错,初始化,加载错误。