原文地址:https://howtodoinjava.com/spring-boot2/developer-tools-module-tutorial/
Spring boot 非常容易使用,它可以做很多事情,你可能没有意识到。将来,一个优秀的开发人员将会知道Spring boot 自动配置(spring boot auto configuration)背后的具体内容,如何使用它对您有利,以及如何禁用您不希望进入项目的某些部分。
要了解spring boot背后的大多数基本知识,我们将创建一个具有单一依赖关系和单个启动类文件的最小启动应用程序。然后,我们将分析启动日志。
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0modelVersion>
<groupId>com.huyouxiaogroupId>
<artifactId>springboot-exampleartifactId>
<version>1.0-SNAPSHOTversion>
<parent>
<groupId>org.springframework.bootgroupId>
<artifactId>spring-boot-starter-parentartifactId>
<version>2.0.0.RELEASEversion>
parent>
<properties>
<java.version>1.8java.version>
<project.build.sourceEncoding>UTF-8project.build.sourceEncoding>
properties>
<dependencies>
<dependency>
<groupId>org.springframework.bootgroupId>
<artifactId>spring-boot-starter-webartifactId>
dependency>
dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.bootgroupId>
<artifactId>spring-boot-maven-pluginartifactId>
plugin>
plugins>
build>
<repositories>
<repository>
<id>repository.spring.releaseid>
<name>Spring GA Repositoryname>
<url>http://repo.spring.io/releaseurl>
repository>
repositories>
project>
package com.huyouxiao.springboot.example;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
@SpringBootApplication
public class Application {
public static void main(String[] args) {
ApplicationContext ctx = SpringApplication.run(Application.class, args);
}
}
上面的类称为 spring boot 应用程序启动类。它曾用于 Bootstrap 并从 Java main() 方法启动 Spring 应用程序。它通常会做以下事情 -
此注释是在一个语句中应用3个注释的快捷方式 -
@EnableAutoConfiguration(excludeName = {"multipartResolver","mbeanServer"})
始终是在注册用户定义的bean之后,才会应用自动配置。
3. @ComponentScan
此批注提供了与Spring XML的上下文并行的支持:component-scan元素。
可以指定 basePackageClasses() 或 basePackages() 来定义要扫描的特定包。如果未定义特定包,则将从声明此批注的类的包进行扫描。
让我们开始使用最简单的选项运行它 - 作为Java应用程序运行。在IDE中,右键单击应用程序类并将其作为Java Application运行。为了深入了解已注册的bean,我添加了修改启动应用程序,如下所示。
package com.huyouxiao.springboot.example;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import java.util.Arrays;
@SpringBootApplication
@Slf4j
public class Application {
public static void main(String[] args) {
ApplicationContext ctx = SpringApplication.run(Application.class, args);
String[] beanNames = ctx.getBeanDefinitionNames();
Arrays.sort(beanNames);
for (String beanName : beanNames) {
log.info(beanName);
}
}
}
现在我们看看启动日志:
/usr/lib/jvm/java-8-oracle/bin/java -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=40601 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -javaagent:/home/huxing/software/idea-go/lib/idea_rt.jar=39463:/home/huxing/software/idea-go/bin -Dfile.encoding=UTF-8 -classpath /usr/lib/jvm/java-8-oracle/jre/lib/charsets.jar:/usr/lib/jvm/java-8-oracle/jre/lib/deploy.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/cldrdata.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/dnsns.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/jaccess.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/jfxrt.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/localedata.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/nashorn.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunec.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunjce_provider.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunpkcs11.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/zipfs.jar:/usr/lib/jvm/java-8-oracle/jre/lib/javaws.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jce.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jfr.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jfxswt.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jsse.jar:/usr/lib/jvm/java-8-oracle/jre/lib/management-agent.jar:/usr/lib/jvm/java-8-oracle/jre/lib/plugin.jar:/usr/lib/jvm/java-8-oracle/jre/lib/resources.jar:/usr/lib/jvm/java-8-oracle/jre/lib/rt.jar:/home/huxing/free-repo/springboot-example/target/classes:/home/huxing/.m2/repository/org/springframework/boot/spring-boot-starter-web/2.0.0.RELEASE/spring-boot-starter-web-2.0.0.RELEASE.jar:/home/huxing/.m2/repository/org/springframework/boot/spring-boot-starter/2.0.0.RELEASE/spring-boot-starter-2.0.0.RELEASE.jar:/home/huxing/.m2/repository/org/springframework/boot/spring-boot/2.0.0.RELEASE/spring-boot-2.0.0.RELEASE.jar:/home/huxing/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/2.0.0.RELEASE/spring-boot-autoconfigure-2.0.0.RELEASE.jar:/home/huxing/.m2/repository/org/springframework/boot/spring-boot-starter-logging/2.0.0.RELEASE/spring-boot-starter-logging-2.0.0.RELEASE.jar:/home/huxing/.m2/repository/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar:/home/huxing/.m2/repository/ch/qos/logback/logback-core/1.2.3/logback-core-1.2.3.jar:/home/huxing/.m2/repository/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar:/home/huxing/.m2/repository/org/apache/logging/log4j/log4j-to-slf4j/2.10.0/log4j-to-slf4j-2.10.0.jar:/home/huxing/.m2/repository/org/apache/logging/log4j/log4j-api/2.10.0/log4j-api-2.10.0.jar:/home/huxing/.m2/repository/org/slf4j/jul-to-slf4j/1.7.25/jul-to-slf4j-1.7.25.jar:/home/huxing/.m2/repository/javax/annotation/javax.annotation-api/1.3.2/javax.annotation-api-1.3.2.jar:/home/huxing/.m2/repository/org/springframework/spring-core/5.0.4.RELEASE/spring-core-5.0.4.RELEASE.jar:/home/huxing/.m2/repository/org/springframework/spring-jcl/5.0.4.RELEASE/spring-jcl-5.0.4.RELEASE.jar:/home/huxing/.m2/repository/org/yaml/snakeyaml/1.19/snakeyaml-1.19.jar:/home/huxing/.m2/repository/org/springframework/boot/spring-boot-starter-json/2.0.0.RELEASE/spring-boot-starter-json-2.0.0.RELEASE.jar:/home/huxing/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.9.4/jackson-databind-2.9.4.jar:/home/huxing/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.9.0/jackson-annotations-2.9.0.jar:/home/huxing/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.9.4/jackson-core-2.9.4.jar:/home/huxing/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jdk8/2.9.4/jackson-datatype-jdk8-2.9.4.jar:/home/huxing/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.9.4/jackson-datatype-jsr310-2.9.4.jar:/home/huxing/.m2/repository/com/fasterxml/jackson/module/jackson-module-parameter-names/2.9.4/jackson-module-parameter-names-2.9.4.jar:/home/huxing/.m2/repository/org/springframework/boot/spring-boot-starter-tomcat/2.0.0.RELEASE/spring-boot-starter-tomcat-2.0.0.RELEASE.jar:/home/huxing/.m2/repository/org/apache/tomcat/embed/tomcat-embed-core/8.5.28/tomcat-embed-core-8.5.28.jar:/home/huxing/.m2/repository/org/apache/tomcat/embed/tomcat-embed-el/8.5.28/tomcat-embed-el-8.5.28.jar:/home/huxing/.m2/repository/org/hibernate/validator/hibernate-validator/6.0.7.Final/hibernate-validator-6.0.7.Final.jar:/home/huxing/.m2/repository/javax/validation/validation-api/2.0.1.Final/validation-api-2.0.1.Final.jar:/home/huxing/.m2/repository/org/jboss/logging/jboss-logging/3.3.2.Final/jboss-logging-3.3.2.Final.jar:/home/huxing/.m2/repository/com/fasterxml/classmate/1.3.4/classmate-1.3.4.jar:/home/huxing/.m2/repository/org/springframework/spring-web/5.0.4.RELEASE/spring-web-5.0.4.RELEASE.jar:/home/huxing/.m2/repository/org/springframework/spring-beans/5.0.4.RELEASE/spring-beans-5.0.4.RELEASE.jar:/home/huxing/.m2/repository/org/springframework/spring-webmvc/5.0.4.RELEASE/spring-webmvc-5.0.4.RELEASE.jar:/home/huxing/.m2/repository/org/springframework/spring-aop/5.0.4.RELEASE/spring-aop-5.0.4.RELEASE.jar:/home/huxing/.m2/repository/org/springframework/spring-context/5.0.4.RELEASE/spring-context-5.0.4.RELEASE.jar:/home/huxing/.m2/repository/org/springframework/spring-expression/5.0.4.RELEASE/spring-expression-5.0.4.RELEASE.jar com.huyouxiao.springboot.example.Application
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.0.0.RELEASE)
2019-06-18 11:21:42.044 INFO 15002 --- [ main] c.h.springboot.example.Application : Starting Application on huxing with PID 15002 (/home/huxing/free-repo/springboot-example/target/classes started by huxing in /home/huxing/free-repo/springboot-example)
2019-06-18 11:21:42.047 INFO 15002 --- [ main] c.h.springboot.example.Application : No active profile set, falling back to default profiles: default
2019-06-18 11:21:42.094 INFO 15002 --- [ main] ConfigServletWebServerApplicationContext : Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@7c417213: startup date [Tue Jun 18 11:21:42 HKT 2019]; root of context hierarchy
2019-06-18 11:21:43.359 INFO 15002 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
2019-06-18 11:21:43.381 INFO 15002 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2019-06-18 11:21:43.381 INFO 15002 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.5.28
2019-06-18 11:21:43.386 INFO 15002 --- [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: [/home/huxing/software/idea-go/bin::/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib]
2019-06-18 11:21:43.470 INFO 15002 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2019-06-18 11:21:43.470 INFO 15002 --- [ost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 1379 ms
2019-06-18 11:21:43.627 INFO 15002 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Servlet dispatcherServlet mapped to [/]
2019-06-18 11:21:43.632 INFO 15002 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*]
2019-06-18 11:21:43.632 INFO 15002 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2019-06-18 11:21:43.633 INFO 15002 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*]
2019-06-18 11:21:43.633 INFO 15002 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*]
2019-06-18 11:21:43.991 INFO 15002 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@7c417213: startup date [Tue Jun 18 11:21:42 HKT 2019]; root of context hierarchy
2019-06-18 11:21:44.055 INFO 15002 --- [ 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-06-18 11:21:44.056 INFO 15002 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity> org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
2019-06-18 11:21:44.096 INFO 15002 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2019-06-18 11:21:44.096 INFO 15002 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2019-06-18 11:21:44.144 INFO 15002 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2019-06-18 11:21:44.276 INFO 15002 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startup
2019-06-18 11:21:44.305 INFO 15002 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path ' '
2019-06-18 11:21:44.307 INFO 15002 --- [ main] c.h.springboot.example.Application : Started Application in 2.642 seconds (JVM running for 3.225)
2019-06-18 11:21:44.310 INFO 15002 --- [ main] c.h.springboot.example.Application : application
2019-06-18 11:21:44.310 INFO 15002 --- [ main] c.h.springboot.example.Application : basicErrorController
2019-06-18 11:21:44.310 INFO 15002 --- [ main] c.h.springboot.example.Application : beanNameHandlerMapping
2019-06-18 11:21:44.310 INFO 15002 --- [ main] c.h.springboot.example.Application : beanNameViewResolver
2019-06-18 11:21:44.310 INFO 15002 --- [ main] c.h.springboot.example.Application : characterEncodingFilter
2019-06-18 11:21:44.310 INFO 15002 --- [ main] c.h.springboot.example.Application : conventionErrorViewResolver
2019-06-18 11:21:44.310 INFO 15002 --- [ main] c.h.springboot.example.Application : defaultServletHandlerMapping
2019-06-18 11:21:44.310 INFO 15002 --- [ main] c.h.springboot.example.Application : defaultValidator
2019-06-18 11:21:44.310 INFO 15002 --- [ main] c.h.springboot.example.Application : defaultViewResolver
2019-06-18 11:21:44.310 INFO 15002 --- [ main] c.h.springboot.example.Application : dispatcherServlet
2019-06-18 11:21:44.310 INFO 15002 --- [ main] c.h.springboot.example.Application : dispatcherServletRegistration
2019-06-18 11:21:44.310 INFO 15002 --- [ main] c.h.springboot.example.Application : error
2019-06-18 11:21:44.311 INFO 15002 --- [ main] c.h.springboot.example.Application : errorAttributes
2019-06-18 11:21:44.311 INFO 15002 --- [ main] c.h.springboot.example.Application : errorPageCustomizer
2019-06-18 11:21:44.311 INFO 15002 --- [ main] c.h.springboot.example.Application : errorPageRegistrarBeanPostProcessor
2019-06-18 11:21:44.311 INFO 15002 --- [ main] c.h.springboot.example.Application : faviconHandlerMapping
2019-06-18 11:21:44.311 INFO 15002 --- [ main] c.h.springboot.example.Application : faviconRequestHandler
2019-06-18 11:21:44.311 INFO 15002 --- [ main] c.h.springboot.example.Application : handlerExceptionResolver
2019-06-18 11:21:44.311 INFO 15002 --- [ main] c.h.springboot.example.Application : hiddenHttpMethodFilter
2019-06-18 11:21:44.311 INFO 15002 --- [ main] c.h.springboot.example.Application : httpPutFormContentFilter
2019-06-18 11:21:44.311 INFO 15002 --- [ main] c.h.springboot.example.Application : httpRequestHandlerAdapter
2019-06-18 11:21:44.311 INFO 15002 --- [ main] c.h.springboot.example.Application : jacksonCodecCustomizer
2019-06-18 11:21:44.311 INFO 15002 --- [ main] c.h.springboot.example.Application : jacksonObjectMapper
2019-06-18 11:21:44.311 INFO 15002 --- [ main] c.h.springboot.example.Application : jacksonObjectMapperBuilder
2019-06-18 11:21:44.311 INFO 15002 --- [ main] c.h.springboot.example.Application : jsonComponentModule
2019-06-18 11:21:44.311 INFO 15002 --- [ main] c.h.springboot.example.Application : localeCharsetMappingsCustomizer
2019-06-18 11:21:44.311 INFO 15002 --- [ main] c.h.springboot.example.Application : mappingJackson2HttpMessageConverter
2019-06-18 11:21:44.311 INFO 15002 --- [ main] c.h.springboot.example.Application : mbeanExporter
2019-06-18 11:21:44.311 INFO 15002 --- [ main] c.h.springboot.example.Application : mbeanServer
2019-06-18 11:21:44.311 INFO 15002 --- [ main] c.h.springboot.example.Application : messageConverters
2019-06-18 11:21:44.311 INFO 15002 --- [ main] c.h.springboot.example.Application : methodValidationPostProcessor
2019-06-18 11:21:44.311 INFO 15002 --- [ main] c.h.springboot.example.Application : multipartConfigElement
2019-06-18 11:21:44.311 INFO 15002 --- [ main] c.h.springboot.example.Application : multipartResolver
2019-06-18 11:21:44.312 INFO 15002 --- [ main] c.h.springboot.example.Application : mvcContentNegotiationManager
2019-06-18 11:21:44.312 INFO 15002 --- [ main] c.h.springboot.example.Application : mvcConversionService
2019-06-18 11:21:44.312 INFO 15002 --- [ main] c.h.springboot.example.Application : mvcHandlerMappingIntrospector
2019-06-18 11:21:44.312 INFO 15002 --- [ main] c.h.springboot.example.Application : mvcPathMatcher
2019-06-18 11:21:44.312 INFO 15002 --- [ main] c.h.springboot.example.Application : mvcResourceUrlProvider
2019-06-18 11:21:44.312 INFO 15002 --- [ main] c.h.springboot.example.Application : mvcUriComponentsContributor
2019-06-18 11:21:44.312 INFO 15002 --- [ main] c.h.springboot.example.Application : mvcUrlPathHelper
2019-06-18 11:21:44.312 INFO 15002 --- [ main] c.h.springboot.example.Application : mvcValidator
2019-06-18 11:21:44.312 INFO 15002 --- [ main] c.h.springboot.example.Application : mvcViewResolver
2019-06-18 11:21:44.312 INFO 15002 --- [ main] c.h.springboot.example.Application : objectNamingStrategy
2019-06-18 11:21:44.312 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.AutoConfigurationPackages
2019-06-18 11:21:44.312 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.admin.SpringApplicationAdminJmxAutoConfiguration
2019-06-18 11:21:44.312 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.condition.BeanTypeRegistry
2019-06-18 11:21:44.312 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.context.ConfigurationPropertiesAutoConfiguration
2019-06-18 11:21:44.312 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.context.PropertyPlaceholderAutoConfiguration
2019-06-18 11:21:44.312 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.http.HttpMessageConvertersAutoConfiguration
2019-06-18 11:21:44.312 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.http.HttpMessageConvertersAutoConfiguration$StringHttpMessageConverterConfiguration
2019-06-18 11:21:44.312 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.http.JacksonHttpMessageConvertersConfiguration
2019-06-18 11:21:44.312 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.http.JacksonHttpMessageConvertersConfiguration$MappingJackson2HttpMessageConverterConfiguration
2019-06-18 11:21:44.312 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.http.codec.CodecsAutoConfiguration
2019-06-18 11:21:44.312 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.http.codec.CodecsAutoConfiguration$JacksonCodecConfiguration
2019-06-18 11:21:44.312 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.info.ProjectInfoAutoConfiguration
2019-06-18 11:21:44.313 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.internalCachingMetadataReaderFactory
2019-06-18 11:21:44.313 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration
2019-06-18 11:21:44.313 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration$Jackson2ObjectMapperBuilderCustomizerConfiguration
2019-06-18 11:21:44.313 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration$JacksonObjectMapperBuilderConfiguration
2019-06-18 11:21:44.313 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration$JacksonObjectMapperConfiguration
2019-06-18 11:21:44.313 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration$ParameterNamesModuleConfiguration
2019-06-18 11:21:44.313 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.jmx.JmxAutoConfiguration
2019-06-18 11:21:44.313 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.security.reactive.ReactiveSecurityAutoConfiguration
2019-06-18 11:21:44.313 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration
2019-06-18 11:21:44.313 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.web.client.RestTemplateAutoConfiguration
2019-06-18 11:21:44.313 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.web.embedded.EmbeddedWebServerFactoryCustomizerAutoConfiguration
2019-06-18 11:21:44.313 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.web.embedded.EmbeddedWebServerFactoryCustomizerAutoConfiguration$TomcatWebServerFactoryCustomizerConfiguration
2019-06-18 11:21:44.313 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.web.servlet.DispatcherServletAutoConfiguration
2019-06-18 11:21:44.313 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.web.servlet.DispatcherServletAutoConfiguration$DispatcherServletConfiguration
2019-06-18 11:21:44.313 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.web.servlet.DispatcherServletAutoConfiguration$DispatcherServletRegistrationConfiguration
2019-06-18 11:21:44.313 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.web.servlet.HttpEncodingAutoConfiguration
2019-06-18 11:21:44.313 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.web.servlet.MultipartAutoConfiguration
2019-06-18 11:21:44.313 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.web.servlet.ServletWebServerFactoryAutoConfiguration
2019-06-18 11:21:44.313 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.web.servlet.ServletWebServerFactoryConfiguration$EmbeddedTomcat
2019-06-18 11:21:44.313 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration
2019-06-18 11:21:44.313 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$EnableWebMvcConfiguration
2019-06-18 11:21:44.313 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter
2019-06-18 11:21:44.313 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter$FaviconConfiguration
2019-06-18 11:21:44.313 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.web.servlet.error.ErrorMvcAutoConfiguration
2019-06-18 11:21:44.313 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.web.servlet.error.ErrorMvcAutoConfiguration$DefaultErrorViewResolverConfiguration
2019-06-18 11:21:44.313 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.web.servlet.error.ErrorMvcAutoConfiguration$WhitelabelErrorViewConfiguration
2019-06-18 11:21:44.313 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.boot.context.properties.ConfigurationBeanFactoryMetadata
2019-06-18 11:21:44.313 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor
2019-06-18 11:21:44.313 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.context.annotation.internalAutowiredAnnotationProcessor
2019-06-18 11:21:44.313 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.context.annotation.internalCommonAnnotationProcessor
2019-06-18 11:21:44.313 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.context.annotation.internalConfigurationAnnotationProcessor
2019-06-18 11:21:44.314 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.context.annotation.internalRequiredAnnotationProcessor
2019-06-18 11:21:44.314 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.context.event.internalEventListenerFactory
2019-06-18 11:21:44.314 INFO 15002 --- [ main] c.h.springboot.example.Application : org.springframework.context.event.internalEventListenerProcessor
2019-06-18 11:21:44.314 INFO 15002 --- [ main] c.h.springboot.example.Application : parameterNamesModule
2019-06-18 11:21:44.314 INFO 15002 --- [ main] c.h.springboot.example.Application : preserveErrorControllerTargetClassPostProcessor
2019-06-18 11:21:44.314 INFO 15002 --- [ main] c.h.springboot.example.Application : propertySourcesPlaceholderConfigurer
2019-06-18 11:21:44.314 INFO 15002 --- [ main] c.h.springboot.example.Application : requestContextFilter
2019-06-18 11:21:44.314 INFO 15002 --- [ main] c.h.springboot.example.Application : requestMappingHandlerAdapter
2019-06-18 11:21:44.314 INFO 15002 --- [ main] c.h.springboot.example.Application : requestMappingHandlerMapping
2019-06-18 11:21:44.314 INFO 15002 --- [ main] c.h.springboot.example.Application : resourceHandlerMapping
2019-06-18 11:21:44.314 INFO 15002 --- [ main] c.h.springboot.example.Application : restTemplateBuilder
2019-06-18 11:21:44.314 INFO 15002 --- [ main] c.h.springboot.example.Application : server-org.springframework.boot.autoconfigure.web.ServerProperties
2019-06-18 11:21:44.314 INFO 15002 --- [ main] c.h.springboot.example.Application : servletWebServerFactoryCustomizer
2019-06-18 11:21:44.314 INFO 15002 --- [ main] c.h.springboot.example.Application : simpleControllerHandlerAdapter
2019-06-18 11:21:44.314 INFO 15002 --- [ main] c.h.springboot.example.Application : spring.http.encoding-org.springframework.boot.autoconfigure.http.HttpEncodingProperties
2019-06-18 11:21:44.314 INFO 15002 --- [ main] c.h.springboot.example.Application : spring.info-org.springframework.boot.autoconfigure.info.ProjectInfoProperties
2019-06-18 11:21:44.314 INFO 15002 --- [ main] c.h.springboot.example.Application : spring.jackson-org.springframework.boot.autoconfigure.jackson.JacksonProperties
2019-06-18 11:21:44.314 INFO 15002 --- [ main] c.h.springboot.example.Application : spring.mvc-org.springframework.boot.autoconfigure.web.servlet.WebMvcProperties
2019-06-18 11:21:44.314 INFO 15002 --- [ main] c.h.springboot.example.Application : spring.resources-org.springframework.boot.autoconfigure.web.ResourceProperties
2019-06-18 11:21:44.314 INFO 15002 --- [ main] c.h.springboot.example.Application : spring.security-org.springframework.boot.autoconfigure.security.SecurityProperties
2019-06-18 11:21:44.314 INFO 15002 --- [ main] c.h.springboot.example.Application : spring.servlet.multipart-org.springframework.boot.autoconfigure.web.servlet.MultipartProperties
2019-06-18 11:21:44.314 INFO 15002 --- [ main] c.h.springboot.example.Application : springApplicationAdminRegistrar
2019-06-18 11:21:44.314 INFO 15002 --- [ main] c.h.springboot.example.Application : standardJacksonObjectMapperBuilderCustomizer
2019-06-18 11:21:44.314 INFO 15002 --- [ main] c.h.springboot.example.Application : stringHttpMessageConverter
2019-06-18 11:21:44.314 INFO 15002 --- [ main] c.h.springboot.example.Application : tomcatServletWebServerFactory
2019-06-18 11:21:44.314 INFO 15002 --- [ main] c.h.springboot.example.Application : tomcatServletWebServerFactoryCustomizer
2019-06-18 11:21:44.314 INFO 15002 --- [ main] c.h.springboot.example.Application : tomcatWebServerFactoryCustomizer
2019-06-18 11:21:44.314 INFO 15002 --- [ main] c.h.springboot.example.Application : viewControllerHandlerMapping
2019-06-18 11:21:44.314 INFO 15002 --- [ main] c.h.springboot.example.Application : viewResolver
2019-06-18 11:21:44.314 INFO 15002 --- [ main] c.h.springboot.example.Application : webServerFactoryCustomizerBeanPostProcessor
2019-06-18 11:21:44.314 INFO 15002 --- [ main] c.h.springboot.example.Application : welcomePageHandlerMapping
您会看到自动注册了多少个bean。这是spring boot 的奥秘所在。如果你想更深入地了解为什么任何一个部分都被注册?您可以通过在应用程序启动时放置调试标志来查看。
在启动 VM 参数中传入: -Ddebug=true
/usr/lib/jvm/java-8-oracle/bin/java -Ddebug=true -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=35119 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -javaagent:/home/huxing/software/idea-go/lib/idea_rt.jar=45923:/home/huxing/software/idea-go/bin -Dfile.encoding=UTF-8 -classpath /usr/lib/jvm/java-8-oracle/jre/lib/charsets.jar:/usr/lib/jvm/java-8-oracle/jre/lib/deploy.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/cldrdata.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/dnsns.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/jaccess.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/jfxrt.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/localedata.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/nashorn.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunec.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunjce_provider.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunpkcs11.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/zipfs.jar:/usr/lib/jvm/java-8-oracle/jre/lib/javaws.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jce.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jfr.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jfxswt.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jsse.jar:/usr/lib/jvm/java-8-oracle/jre/lib/management-agent.jar:/usr/lib/jvm/java-8-oracle/jre/lib/plugin.jar:/usr/lib/jvm/java-8-oracle/jre/lib/resources.jar:/usr/lib/jvm/java-8-oracle/jre/lib/rt.jar:/home/huxing/free-repo/springboot-example/target/classes:/home/huxing/.m2/repository/org/springframework/boot/spring-boot-starter-web/2.0.0.RELEASE/spring-boot-starter-web-2.0.0.RELEASE.jar:/home/huxing/.m2/repository/org/springframework/boot/spring-boot-starter/2.0.0.RELEASE/spring-boot-starter-2.0.0.RELEASE.jar:/home/huxing/.m2/repository/org/springframework/boot/spring-boot/2.0.0.RELEASE/spring-boot-2.0.0.RELEASE.jar:/home/huxing/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/2.0.0.RELEASE/spring-boot-autoconfigure-2.0.0.RELEASE.jar:/home/huxing/.m2/repository/org/springframework/boot/spring-boot-starter-logging/2.0.0.RELEASE/spring-boot-starter-logging-2.0.0.RELEASE.jar:/home/huxing/.m2/repository/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar:/home/huxing/.m2/repository/ch/qos/logback/logback-core/1.2.3/logback-core-1.2.3.jar:/home/huxing/.m2/repository/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar:/home/huxing/.m2/repository/org/apache/logging/log4j/log4j-to-slf4j/2.10.0/log4j-to-slf4j-2.10.0.jar:/home/huxing/.m2/repository/org/apache/logging/log4j/log4j-api/2.10.0/log4j-api-2.10.0.jar:/home/huxing/.m2/repository/org/slf4j/jul-to-slf4j/1.7.25/jul-to-slf4j-1.7.25.jar:/home/huxing/.m2/repository/javax/annotation/javax.annotation-api/1.3.2/javax.annotation-api-1.3.2.jar:/home/huxing/.m2/repository/org/springframework/spring-core/5.0.4.RELEASE/spring-core-5.0.4.RELEASE.jar:/home/huxing/.m2/repository/org/springframework/spring-jcl/5.0.4.RELEASE/spring-jcl-5.0.4.RELEASE.jar:/home/huxing/.m2/repository/org/yaml/snakeyaml/1.19/snakeyaml-1.19.jar:/home/huxing/.m2/repository/org/springframework/boot/spring-boot-starter-json/2.0.0.RELEASE/spring-boot-starter-json-2.0.0.RELEASE.jar:/home/huxing/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.9.4/jackson-databind-2.9.4.jar:/home/huxing/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.9.0/jackson-annotations-2.9.0.jar:/home/huxing/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.9.4/jackson-core-2.9.4.jar:/home/huxing/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jdk8/2.9.4/jackson-datatype-jdk8-2.9.4.jar:/home/huxing/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.9.4/jackson-datatype-jsr310-2.9.4.jar:/home/huxing/.m2/repository/com/fasterxml/jackson/module/jackson-module-parameter-names/2.9.4/jackson-module-parameter-names-2.9.4.jar:/home/huxing/.m2/repository/org/springframework/boot/spring-boot-starter-tomcat/2.0.0.RELEASE/spring-boot-starter-tomcat-2.0.0.RELEASE.jar:/home/huxing/.m2/repository/org/apache/tomcat/embed/tomcat-embed-core/8.5.28/tomcat-embed-core-8.5.28.jar:/home/huxing/.m2/repository/org/apache/tomcat/embed/tomcat-embed-el/8.5.28/tomcat-embed-el-8.5.28.jar:/home/huxing/.m2/repository/org/hibernate/validator/hibernate-validator/6.0.7.Final/hibernate-validator-6.0.7.Final.jar:/home/huxing/.m2/repository/javax/validation/validation-api/2.0.1.Final/validation-api-2.0.1.Final.jar:/home/huxing/.m2/repository/org/jboss/logging/jboss-logging/3.3.2.Final/jboss-logging-3.3.2.Final.jar:/home/huxing/.m2/repository/com/fasterxml/classmate/1.3.4/classmate-1.3.4.jar:/home/huxing/.m2/repository/org/springframework/spring-web/5.0.4.RELEASE/spring-web-5.0.4.RELEASE.jar:/home/huxing/.m2/repository/org/springframework/spring-beans/5.0.4.RELEASE/spring-beans-5.0.4.RELEASE.jar:/home/huxing/.m2/repository/org/springframework/spring-webmvc/5.0.4.RELEASE/spring-webmvc-5.0.4.RELEASE.jar:/home/huxing/.m2/repository/org/springframework/spring-aop/5.0.4.RELEASE/spring-aop-5.0.4.RELEASE.jar:/home/huxing/.m2/repository/org/springframework/spring-context/5.0.4.RELEASE/spring-context-5.0.4.RELEASE.jar:/home/huxing/.m2/repository/org/springframework/spring-expression/5.0.4.RELEASE/spring-expression-5.0.4.RELEASE.jar com.huyouxiao.springboot.example.Application
DEBUG StatusLogger org.slf4j.helpers.Log4jLoggerFactory is not on classpath. Good!
2019-06-18 11:26:17.736 DEBUG 15507 --- [ main] .c.l.ClasspathLoggingApplicationListener : Application started with classpath: [file:/usr/lib/jvm/java-8-oracle/jre/lib/charsets.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/deploy.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/ext/cldrdata.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/ext/dnsns.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/ext/jaccess.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/ext/jfxrt.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/ext/localedata.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/ext/nashorn.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunec.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunjce_provider.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunpkcs11.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/ext/zipfs.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/javaws.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/jce.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/jfr.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/jfxswt.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/jsse.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/management-agent.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/plugin.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/resources.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/rt.jar, file:/home/huxing/free-repo/springboot-example/target/classes/, file:/home/huxing/.m2/repository/org/springframework/boot/spring-boot-starter-web/2.0.0.RELEASE/spring-boot-starter-web-2.0.0.RELEASE.jar, file:/home/huxing/.m2/repository/org/springframework/boot/spring-boot-starter/2.0.0.RELEASE/spring-boot-starter-2.0.0.RELEASE.jar, file:/home/huxing/.m2/repository/org/springframework/boot/spring-boot/2.0.0.RELEASE/spring-boot-2.0.0.RELEASE.jar, file:/home/huxing/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/2.0.0.RELEASE/spring-boot-autoconfigure-2.0.0.RELEASE.jar, file:/home/huxing/.m2/repository/org/springframework/boot/spring-boot-starter-logging/2.0.0.RELEASE/spring-boot-starter-logging-2.0.0.RELEASE.jar, file:/home/huxing/.m2/repository/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar, file:/home/huxing/.m2/repository/ch/qos/logback/logback-core/1.2.3/logback-core-1.2.3.jar, file:/home/huxing/.m2/repository/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar, file:/home/huxing/.m2/repository/org/apache/logging/log4j/log4j-to-slf4j/2.10.0/log4j-to-slf4j-2.10.0.jar, file:/home/huxing/.m2/repository/org/apache/logging/log4j/log4j-api/2.10.0/log4j-api-2.10.0.jar, file:/home/huxing/.m2/repository/org/slf4j/jul-to-slf4j/1.7.25/jul-to-slf4j-1.7.25.jar, file:/home/huxing/.m2/repository/javax/annotation/javax.annotation-api/1.3.2/javax.annotation-api-1.3.2.jar, file:/home/huxing/.m2/repository/org/springframework/spring-core/5.0.4.RELEASE/spring-core-5.0.4.RELEASE.jar, file:/home/huxing/.m2/repository/org/springframework/spring-jcl/5.0.4.RELEASE/spring-jcl-5.0.4.RELEASE.jar, file:/home/huxing/.m2/repository/org/yaml/snakeyaml/1.19/snakeyaml-1.19.jar, file:/home/huxing/.m2/repository/org/springframework/boot/spring-boot-starter-json/2.0.0.RELEASE/spring-boot-starter-json-2.0.0.RELEASE.jar, file:/home/huxing/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.9.4/jackson-databind-2.9.4.jar, file:/home/huxing/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.9.0/jackson-annotations-2.9.0.jar, file:/home/huxing/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.9.4/jackson-core-2.9.4.jar, file:/home/huxing/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jdk8/2.9.4/jackson-datatype-jdk8-2.9.4.jar, file:/home/huxing/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.9.4/jackson-datatype-jsr310-2.9.4.jar, file:/home/huxing/.m2/repository/com/fasterxml/jackson/module/jackson-module-parameter-names/2.9.4/jackson-module-parameter-names-2.9.4.jar, file:/home/huxing/.m2/repository/org/springframework/boot/spring-boot-starter-tomcat/2.0.0.RELEASE/spring-boot-starter-tomcat-2.0.0.RELEASE.jar, file:/home/huxing/.m2/repository/org/apache/tomcat/embed/tomcat-embed-core/8.5.28/tomcat-embed-core-8.5.28.jar, file:/home/huxing/.m2/repository/org/apache/tomcat/embed/tomcat-embed-el/8.5.28/tomcat-embed-el-8.5.28.jar, file:/home/huxing/.m2/repository/org/hibernate/validator/hibernate-validator/6.0.7.Final/hibernate-validator-6.0.7.Final.jar, file:/home/huxing/.m2/repository/javax/validation/validation-api/2.0.1.Final/validation-api-2.0.1.Final.jar, file:/home/huxing/.m2/repository/org/jboss/logging/jboss-logging/3.3.2.Final/jboss-logging-3.3.2.Final.jar, file:/home/huxing/.m2/repository/com/fasterxml/classmate/1.3.4/classmate-1.3.4.jar, file:/home/huxing/.m2/repository/org/springframework/spring-web/5.0.4.RELEASE/spring-web-5.0.4.RELEASE.jar, file:/home/huxing/.m2/repository/org/springframework/spring-beans/5.0.4.RELEASE/spring-beans-5.0.4.RELEASE.jar, file:/home/huxing/.m2/repository/org/springframework/spring-webmvc/5.0.4.RELEASE/spring-webmvc-5.0.4.RELEASE.jar, file:/home/huxing/.m2/repository/org/springframework/spring-aop/5.0.4.RELEASE/spring-aop-5.0.4.RELEASE.jar, file:/home/huxing/.m2/repository/org/springframework/spring-context/5.0.4.RELEASE/spring-context-5.0.4.RELEASE.jar, file:/home/huxing/.m2/repository/org/springframework/spring-expression/5.0.4.RELEASE/spring-expression-5.0.4.RELEASE.jar, file:/home/huxing/software/idea-go/lib/idea_rt.jar]
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.0.0.RELEASE)
2019-06-18 11:26:18.012 INFO 15507 --- [ main] c.h.springboot.example.Application : Starting Application on huxing with PID 15507 (/home/huxing/free-repo/springboot-example/target/classes started by huxing in /home/huxing/free-repo/springboot-example)
2019-06-18 11:26:18.015 INFO 15507 --- [ main] c.h.springboot.example.Application : No active profile set, falling back to default profiles: default
2019-06-18 11:26:18.016 DEBUG 15507 --- [ main] o.s.boot.SpringApplication : Loading source class com.huyouxiao.springboot.example.Application
2019-06-18 11:26:18.177 INFO 15507 --- [ main] ConfigServletWebServerApplicationContext : Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@5c1a8622: startup date [Tue Jun 18 11:26:18 HKT 2019]; root of context hierarchy
2019-06-18 11:26:18.183 DEBUG 15507 --- [ main] ConfigServletWebServerApplicationContext : Bean factory for org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@5c1a8622: org.springframework.beans.factory.support.DefaultListableBeanFactory@4fb61f4a: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.event.internalEventListenerProcessor,org.springframework.context.event.internalEventListenerFactory,application]; root of factory hierarchy
2019-06-18 11:26:20.985 DEBUG 15507 --- [ main] ConfigServletWebServerApplicationContext : Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@7d1cfb8b]
2019-06-18 11:26:20.986 DEBUG 15507 --- [ main] ConfigServletWebServerApplicationContext : Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@48e92c5c]
2019-06-18 11:26:21.633 DEBUG 15507 --- [ main] .s.b.w.e.t.TomcatServletWebServerFactory : Code archive: /home/huxing/.m2/repository/org/springframework/boot/spring-boot/2.0.0.RELEASE/spring-boot-2.0.0.RELEASE.jar
2019-06-18 11:26:21.634 DEBUG 15507 --- [ main] .s.b.w.e.t.TomcatServletWebServerFactory : Code archive: /home/huxing/.m2/repository/org/springframework/boot/spring-boot/2.0.0.RELEASE/spring-boot-2.0.0.RELEASE.jar
2019-06-18 11:26:21.634 DEBUG 15507 --- [ main] .s.b.w.e.t.TomcatServletWebServerFactory : None of the document roots [src/main/webapp, public, static] point to a directory and will be ignored.
2019-06-18 11:26:21.677 INFO 15507 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
2019-06-18 11:26:21.704 INFO 15507 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2019-06-18 11:26:21.704 INFO 15507 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.5.28
2019-06-18 11:26:21.709 INFO 15507 --- [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: [/home/huxing/software/idea-go/bin::/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib]
2019-06-18 11:26:21.791 INFO 15507 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2019-06-18 11:26:21.792 INFO 15507 --- [ost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 3628 ms
2019-06-18 11:26:21.881 DEBUG 15507 --- [ost-startStop-1] o.s.b.w.s.ServletContextInitializerBeans : Added existing Servlet initializer bean 'dispatcherServletRegistration'; order=2147483647, resource=class path resource [org/springframework/boot/autoconfigure/web/servlet/DispatcherServletAutoConfiguration$DispatcherServletRegistrationConfiguration.class]
2019-06-18 11:26:21.925 DEBUG 15507 --- [ost-startStop-1] o.s.b.w.s.ServletContextInitializerBeans : Created Filter initializer for bean 'characterEncodingFilter'; order=-2147483648, resource=class path resource [org/springframework/boot/autoconfigure/web/servlet/HttpEncodingAutoConfiguration.class]
2019-06-18 11:26:21.925 DEBUG 15507 --- [ost-startStop-1] o.s.b.w.s.ServletContextInitializerBeans : Created Filter initializer for bean 'hiddenHttpMethodFilter'; order=-10000, resource=class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration.class]
2019-06-18 11:26:21.925 DEBUG 15507 --- [ost-startStop-1] o.s.b.w.s.ServletContextInitializerBeans : Created Filter initializer for bean 'httpPutFormContentFilter'; order=-9900, resource=class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration.class]
2019-06-18 11:26:21.925 DEBUG 15507 --- [ost-startStop-1] o.s.b.w.s.ServletContextInitializerBeans : Created Filter initializer for bean 'requestContextFilter'; order=-105, resource=class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter.class]
2019-06-18 11:26:21.929 INFO 15507 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Servlet dispatcherServlet mapped to [/]
2019-06-18 11:26:21.933 INFO 15507 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*]
2019-06-18 11:26:21.934 INFO 15507 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2019-06-18 11:26:21.934 INFO 15507 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*]
2019-06-18 11:26:21.934 INFO 15507 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*]
2019-06-18 11:26:21.936 DEBUG 15507 --- [ost-startStop-1] o.s.b.w.s.f.OrderedRequestContextFilter : Initializing filter 'requestContextFilter'
2019-06-18 11:26:21.937 DEBUG 15507 --- [ost-startStop-1] o.s.b.w.s.f.OrderedRequestContextFilter : Filter 'requestContextFilter' configured successfully
2019-06-18 11:26:21.937 DEBUG 15507 --- [ost-startStop-1] .b.w.s.f.OrderedHttpPutFormContentFilter : Initializing filter 'httpPutFormContentFilter'
2019-06-18 11:26:21.937 DEBUG 15507 --- [ost-startStop-1] .b.w.s.f.OrderedHttpPutFormContentFilter : Filter 'httpPutFormContentFilter' configured successfully
2019-06-18 11:26:21.938 DEBUG 15507 --- [ost-startStop-1] .s.b.w.s.f.OrderedHiddenHttpMethodFilter : Initializing filter 'hiddenHttpMethodFilter'
2019-06-18 11:26:21.938 DEBUG 15507 --- [ost-startStop-1] .s.b.w.s.f.OrderedHiddenHttpMethodFilter : Filter 'hiddenHttpMethodFilter' configured successfully
2019-06-18 11:26:21.938 DEBUG 15507 --- [ost-startStop-1] s.b.w.s.f.OrderedCharacterEncodingFilter : Initializing filter 'characterEncodingFilter'
2019-06-18 11:26:21.938 DEBUG 15507 --- [ost-startStop-1] s.b.w.s.f.OrderedCharacterEncodingFilter : Filter 'characterEncodingFilter' configured successfully
2019-06-18 11:26:22.688 INFO 15507 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@5c1a8622: startup date [Tue Jun 18 11:26:18 HKT 2019]; root of context hierarchy
2019-06-18 11:26:22.862 INFO 15507 --- [ 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-06-18 11:26:22.865 INFO 15507 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity> org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
2019-06-18 11:26:22.970 INFO 15507 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2019-06-18 11:26:22.970 INFO 15507 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2019-06-18 11:26:23.088 INFO 15507 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2019-06-18 11:26:23.295 DEBUG 15507 --- [ main] inMXBeanRegistrar$SpringApplicationAdmin : Application Admin MBean registered with name ' org.springframework.boot:type=Admin,name=SpringApplication'
2019-06-18 11:26:23.612 INFO 15507 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startup
2019-06-18 11:26:23.629 DEBUG 15507 --- [ main] ConfigServletWebServerApplicationContext : Unable to locate LifecycleProcessor with name 'lifecycleProcessor': using default [org.springframework.context.support.DefaultLifecycleProcessor@56db847e]
2019-06-18 11:26:23.699 DEBUG 15507 --- [ main] ConditionEvaluationReportLoggingListener :
============================
CONDITIONS EVALUATION REPORT
============================
Positive matches:
-----------------
CodecsAutoConfiguration matched:
- @ConditionalOnClass found required class 'org.springframework.http.codec.CodecConfigurer'; @ConditionalOnMissingClass did not find unwanted class (OnClassCondition)
CodecsAutoConfiguration.JacksonCodecConfiguration matched:
- @ConditionalOnClass found required class 'com.fasterxml.jackson.databind.ObjectMapper'; @ConditionalOnMissingClass did not find unwanted class (OnClassCondition)
CodecsAutoConfiguration.JacksonCodecConfiguration#jacksonCodecCustomizer matched:
- @ConditionalOnBean (types: com.fasterxml.jackson.databind.ObjectMapper; SearchStrategy: all) found bean 'jacksonObjectMapper' (OnBeanCondition)
DispatcherServletAutoConfiguration matched:
- @ConditionalOnClass found required class 'org.springframework.web.servlet.DispatcherServlet'; @ConditionalOnMissingClass did not find unwanted class (OnClassCondition)
- found ConfigurableWebEnvironment (OnWebApplicationCondition)
DispatcherServletAutoConfiguration.DispatcherServletConfiguration matched:
- @ConditionalOnClass found required class 'javax.servlet.ServletRegistration'; @ConditionalOnMissingClass did not find unwanted class (OnClassCondition)
- Default DispatcherServlet did not find dispatcher servlet beans (DispatcherServletAutoConfiguration.DefaultDispatcherServletCondition)
DispatcherServletAutoConfiguration.DispatcherServletRegistrationConfiguration matched:
- @ConditionalOnClass found required class 'javax.servlet.ServletRegistration'; @ConditionalOnMissingClass did not find unwanted class (OnClassCondition)
- DispatcherServlet Registration did not find servlet registration bean (DispatcherServletAutoConfiguration.DispatcherServletRegistrationCondition)
DispatcherServletAutoConfiguration.DispatcherServletRegistrationConfiguration#dispatcherServletRegistration matched:
- @ConditionalOnBean (names: dispatcherServlet; types: org.springframework.web.servlet.DispatcherServlet; SearchStrategy: all) found bean 'dispatcherServlet' (OnBeanCondition)
EmbeddedWebServerFactoryCustomizerAutoConfiguration.TomcatWebServerFactoryCustomizerConfiguration matched:
- @ConditionalOnClass found required classes 'org.apache.catalina.startup.Tomcat', 'org.apache.coyote.UpgradeProtocol'; @ConditionalOnMissingClass did not find unwanted class (OnClassCondition)
ErrorMvcAutoConfiguration matched:
- @ConditionalOnClass found required classes 'javax.servlet.Servlet', 'org.springframework.web.servlet.DispatcherServlet'; @ConditionalOnMissingClass did not find unwanted class (OnClassCondition)
- found ConfigurableWebEnvironment (OnWebApplicationCondition)
ErrorMvcAutoConfiguration#basicErrorController matched:
- @ConditionalOnMissingBean (types: org.springframework.boot.web.servlet.error.ErrorController; SearchStrategy: current) did not find any beans (OnBeanCondition)
ErrorMvcAutoConfiguration#errorAttributes matched:
- @ConditionalOnMissingBean (types: org.springframework.boot.web.servlet.error.ErrorAttributes; SearchStrategy: current) did not find any beans (OnBeanCondition)
ErrorMvcAutoConfiguration.DefaultErrorViewResolverConfiguration#conventionErrorViewResolver matched:
- @ConditionalOnBean (types: org.springframework.web.servlet.DispatcherServlet; SearchStrategy: all) found bean 'dispatcherServlet'; @ConditionalOnMissingBean (types: org.springframework.boot.autoconfigure.web.servlet.error.DefaultErrorViewResolver; SearchStrategy: all) did not find any beans (OnBeanCondition)
ErrorMvcAutoConfiguration.WhitelabelErrorViewConfiguration matched:
- @ConditionalOnProperty (server.error.whitelabel.enabled) matched (OnPropertyCondition)
- ErrorTemplate Missing did not find error template view (ErrorMvcAutoConfiguration.ErrorTemplateMissingCondition)
ErrorMvcAutoConfiguration.WhitelabelErrorViewConfiguration#beanNameViewResolver matched:
- @ConditionalOnMissingBean (types: org.springframework.web.servlet.view.BeanNameViewResolver; SearchStrategy: all) did not find any beans (OnBeanCondition)
ErrorMvcAutoConfiguration.WhitelabelErrorViewConfiguration#defaultErrorView matched:
- @ConditionalOnMissingBean (names: error; SearchStrategy: all) did not find any beans (OnBeanCondition)
GenericCacheConfiguration matched:
- Cache org.springframework.boot.autoconfigure.cache.GenericCacheConfiguration automatic cache type (CacheCondition)
HttpEncodingAutoConfiguration matched:
- @ConditionalOnClass found required class 'org.springframework.web.filter.CharacterEncodingFilter'; @ConditionalOnMissingClass did not find unwanted class (OnClassCondition)
- found ConfigurableWebEnvironment (OnWebApplicationCondition)
- @ConditionalOnProperty (spring.http.encoding.enabled) matched (OnPropertyCondition)
HttpEncodingAutoConfiguration#characterEncodingFilter matched:
- @ConditionalOnMissingBean (types: org.springframework.web.filter.CharacterEncodingFilter; SearchStrategy: all) did not find any beans (OnBeanCondition)
HttpMessageConvertersAutoConfiguration matched:
- @ConditionalOnClass found required class 'org.springframework.http.converter.HttpMessageConverter'; @ConditionalOnMissingClass did not find unwanted class (OnClassCondition)
HttpMessageConvertersAutoConfiguration#messageConverters matched:
- @ConditionalOnMissingBean (types: org.springframework.boot.autoconfigure.http.HttpMessageConverters; SearchStrategy: all) did not find any beans (OnBeanCondition)
HttpMessageConvertersAutoConfiguration.StringHttpMessageConverterConfiguration matched:
- @ConditionalOnClass found required class 'org.springframework.http.converter.StringHttpMessageConverter'; @ConditionalOnMissingClass did not find unwanted class (OnClassCondition)
HttpMessageConvertersAutoConfiguration.StringHttpMessageConverterConfiguration#stringHttpMessageConverter matched:
- @ConditionalOnMissingBean (types: org.springframework.http.converter.StringHttpMessageConverter; SearchStrategy: all) did not find any beans (OnBeanCondition)
JacksonAutoConfiguration matched:
- @ConditionalOnClass found required class 'com.fasterxml.jackson.databind.ObjectMapper'; @ConditionalOnMissingClass did not find unwanted class (OnClassCondition)
JacksonAutoConfiguration.Jackson2ObjectMapperBuilderCustomizerConfiguration matched:
- @ConditionalOnClass found required class 'org.springframework.http.converter.json.Jackson2ObjectMapperBuilder'; @ConditionalOnMissingClass did not find unwanted class (OnClassCondition)
JacksonAutoConfiguration.JacksonObjectMapperBuilderConfiguration matched:
- @ConditionalOnClass found required class 'org.springframework.http.converter.json.Jackson2ObjectMapperBuilder'; @ConditionalOnMissingClass did not find unwanted class (OnClassCondition)
JacksonAutoConfiguration.JacksonObjectMapperBuilderConfiguration#jacksonObjectMapperBuilder matched:
- @ConditionalOnMissingBean (types: org.springframework.http.converter.json.Jackson2ObjectMapperBuilder; SearchStrategy: all) did not find any beans (OnBeanCondition)
JacksonAutoConfiguration.JacksonObjectMapperConfiguration matched:
- @ConditionalOnClass found required class 'org.springframework.http.converter.json.Jackson2ObjectMapperBuilder'; @ConditionalOnMissingClass did not find unwanted class (OnClassCondition)
JacksonAutoConfiguration.JacksonObjectMapperConfiguration#jacksonObjectMapper matched:
- @ConditionalOnMissingBean (types: com.fasterxml.jackson.databind.ObjectMapper; SearchStrategy: all) did not find any beans (OnBeanCondition)
JacksonAutoConfiguration.ParameterNamesModuleConfiguration matched:
- @ConditionalOnClass found required class 'com.fasterxml.jackson.module.paramnames.ParameterNamesModule'; @ConditionalOnMissingClass did not find unwanted class (OnClassCondition)
JacksonAutoConfiguration.ParameterNamesModuleConfiguration#parameterNamesModule matched:
- @ConditionalOnMissingBean (types: com.fasterxml.jackson.module.paramnames.ParameterNamesModule; SearchStrategy: all) did not find any beans (OnBeanCondition)
JacksonHttpMessageConvertersConfiguration.MappingJackson2HttpMessageConverterConfiguration matched:
- @ConditionalOnClass found required class 'com.fasterxml.jackson.databind.ObjectMapper'; @ConditionalOnMissingClass did not find unwanted class (OnClassCondition)
- @ConditionalOnProperty (spring.http.converters.preferred-json-mapper=jackson) matched (OnPropertyCondition)
- @ConditionalOnBean (types: com.fasterxml.jackson.databind.ObjectMapper; SearchStrategy: all) found bean 'jacksonObjectMapper' (OnBeanCondition)
JacksonHttpMessageConvertersConfiguration.MappingJackson2HttpMessageConverterConfiguration#mappingJackson2HttpMessageConverter matched:
- @ConditionalOnMissingBean (types: org.springframework.http.converter.json.MappingJackson2HttpMessageConverter; SearchStrategy: all) did not find any beans (OnBeanCondition)
JmxAutoConfiguration matched:
- @ConditionalOnClass found required class 'org.springframework.jmx.export.MBeanExporter'; @ConditionalOnMissingClass did not find unwanted class (OnClassCondition)
- @ConditionalOnProperty (spring.jmx.enabled=true) matched (OnPropertyCondition)
JmxAutoConfiguration#mbeanExporter matched:
- @ConditionalOnMissingBean (types: org.springframework.jmx.export.MBeanExporter; SearchStrategy: current) did not find any beans (OnBeanCondition)
JmxAutoConfiguration#mbeanServer matched:
- @ConditionalOnMissingBean (types: javax.management.MBeanServer; SearchStrategy: all) did not find any beans (OnBeanCondition)
JmxAutoConfiguration#objectNamingStrategy matched:
- @ConditionalOnMissingBean (types: org.springframework.jmx.export.naming.ObjectNamingStrategy; SearchStrategy: current) did not find any beans (OnBeanCondition)
MultipartAutoConfiguration matched:
- @ConditionalOnClass found required classes 'javax.servlet.Servlet', 'org.springframework.web.multipart.support.StandardServletMultipartResolver', 'javax.servlet.MultipartConfigElement'; @ConditionalOnMissingClass did not find unwanted class (OnClassCondition)
- found ConfigurableWebEnvironment (OnWebApplicationCondition)
- @ConditionalOnProperty (spring.servlet.multipart.enabled) matched (OnPropertyCondition)
MultipartAutoConfiguration#multipartConfigElement matched:
- @ConditionalOnMissingBean (types: javax.servlet.MultipartConfigElement; SearchStrategy: all) did not find any beans (OnBeanCondition)
MultipartAutoConfiguration#multipartResolver matched:
- @ConditionalOnMissingBean (types: org.springframework.web.multipart.MultipartResolver; SearchStrategy: all) did not find any beans (OnBeanCondition)
NoOpCacheConfiguration matched:
- Cache org.springframework.boot.autoconfigure.cache.NoOpCacheConfiguration automatic cache type (CacheCondition)
PropertyPlaceholderAutoConfiguration#propertySourcesPlaceholderConfigurer matched:
- @ConditionalOnMissingBean (types: org.springframework.context.support.PropertySourcesPlaceholderConfigurer; SearchStrategy: current) did not find any beans (OnBeanCondition)
RedisCacheConfiguration matched:
- Cache org.springframework.boot.autoconfigure.cache.RedisCacheConfiguration automatic cache type (CacheCondition)
RestTemplateAutoConfiguration matched:
- @ConditionalOnClass found required class 'org.springframework.web.client.RestTemplate'; @ConditionalOnMissingClass did not find unwanted class (OnClassCondition)
RestTemplateAutoConfiguration#restTemplateBuilder matched:
- @ConditionalOnMissingBean (types: org.springframework.boot.web.client.RestTemplateBuilder; SearchStrategy: all) did not find any beans (OnBeanCondition)
ServletWebServerFactoryAutoConfiguration matched:
- @ConditionalOnClass found required class 'javax.servlet.ServletRequest'; @ConditionalOnMissingClass did not find unwanted class (OnClassCondition)
- found ConfigurableWebEnvironment (OnWebApplicationCondition)
ServletWebServerFactoryAutoConfiguration#tomcatServletWebServerFactoryCustomizer matched:
- @ConditionalOnClass found required class 'org.apache.catalina.startup.Tomcat'; @ConditionalOnMissingClass did not find unwanted class (OnClassCondition)
ServletWebServerFactoryConfiguration.EmbeddedTomcat matched:
- @ConditionalOnClass found required classes 'javax.servlet.Servlet', 'org.apache.catalina.startup.Tomcat', 'org.apache.coyote.UpgradeProtocol'; @ConditionalOnMissingClass did not find unwanted class (OnClassCondition)
- @ConditionalOnMissingBean (types: org.springframework.boot.web.servlet.server.ServletWebServerFactory; SearchStrategy: current) did not find any beans (OnBeanCondition)
SimpleCacheConfiguration matched:
- Cache org.springframework.boot.autoconfigure.cache.SimpleCacheConfiguration automatic cache type (CacheCondition)
SpringApplicationAdminJmxAutoConfiguration matched:
- @ConditionalOnProperty (spring.application.admin.enabled=true) matched (OnPropertyCondition)
SpringApplicationAdminJmxAutoConfiguration#springApplicationAdminRegistrar matched:
- @ConditionalOnMissingBean (types: org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar; SearchStrategy: all) did not find any beans (OnBeanCondition)
ValidationAutoConfiguration matched:
- @ConditionalOnClass found required class 'javax.validation.executable.ExecutableValidator'; @ConditionalOnMissingClass did not find unwanted class (OnClassCondition)
- @ConditionalOnResource found location classpath:META-INF/services/javax.validation.spi.ValidationProvider (OnResourceCondition)
ValidationAutoConfiguration#defaultValidator matched:
- @ConditionalOnMissingBean (types: javax.validation.Validator; SearchStrategy: all) did not find any beans (OnBeanCondition)
ValidationAutoConfiguration#methodValidationPostProcessor matched:
- @ConditionalOnMissingBean (types: org.springframework.validation.beanvalidation.MethodValidationPostProcessor; SearchStrategy: all) did not find any beans (OnBeanCondition)
WebMvcAutoConfiguration matched:
- @ConditionalOnClass found required classes 'javax.servlet.Servlet', 'org.springframework.web.servlet.DispatcherServlet', 'org.springframework.web.servlet.config.annotation.WebMvcConfigurer'; @ConditionalOnMissingClass did not find unwanted class (OnClassCondition)
- found ConfigurableWebEnvironment (OnWebApplicationCondition)
- @ConditionalOnMissingBean (types: org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport; SearchStrategy: all) did not find any beans (OnBeanCondition)
WebMvcAutoConfiguration#hiddenHttpMethodFilter matched:
- @ConditionalOnMissingBean (types: org.springframework.web.filter.HiddenHttpMethodFilter; SearchStrategy: all) did not find any beans (OnBeanCondition)
WebMvcAutoConfiguration#httpPutFormContentFilter matched:
- @ConditionalOnProperty (spring.mvc.formcontent.putfilter.enabled) matched (OnPropertyCondition)
- @ConditionalOnMissingBean (types: org.springframework.web.filter.HttpPutFormContentFilter; SearchStrategy: all) did not find any beans (OnBeanCondition)
WebMvcAutoConfiguration.WebMvcAutoConfigurationAdapter#defaultViewResolver matched:
- @ConditionalOnMissingBean (types: org.springframework.web.servlet.view.InternalResourceViewResolver; SearchStrategy: all) did not find any beans (OnBeanCondition)
WebMvcAutoConfiguration.WebMvcAutoConfigurationAdapter#requestContextFilter matched:
- @ConditionalOnMissingBean (types: org.springframework.web.context.request.RequestContextListener,org.springframework.web.filter.RequestContextFilter; SearchStrategy: all) did not find any beans (OnBeanCondition)
WebMvcAutoConfiguration.WebMvcAutoConfigurationAdapter#viewResolver matched:
- @ConditionalOnBean (types: org.springframework.web.servlet.ViewResolver; SearchStrategy: all) found beans 'defaultViewResolver', 'beanNameViewResolver', 'mvcViewResolver'; @ConditionalOnMissingBean (names: viewResolver; types: org.springframework.web.servlet.view.ContentNegotiatingViewResolver; SearchStrategy: all) did not find any beans (OnBeanCondition)
WebMvcAutoConfiguration.WebMvcAutoConfigurationAdapter.FaviconConfiguration matched:
- @ConditionalOnProperty (spring.mvc.favicon.enabled) matched (OnPropertyCondition)
Negative matches:
-----------------
ActiveMQAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'javax.jms.ConnectionFactory', 'org.apache.activemq.ActiveMQConnectionFactory' (OnClassCondition)
AopAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'org.aspectj.lang.annotation.Aspect', 'org.aspectj.lang.reflect.Advice', 'org.aspectj.weaver.AnnotatedElement' (OnClassCondition)
ArtemisAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'javax.jms.ConnectionFactory', 'org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory' (OnClassCondition)
BatchAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'org.springframework.batch.core.launch.JobLauncher', 'org.springframework.jdbc.core.JdbcOperations' (OnClassCondition)
CacheAutoConfiguration:
Did not match:
- @ConditionalOnBean (types: org.springframework.cache.interceptor.CacheAspectSupport; SearchStrategy: all) did not find any beans of type org.springframework.cache.interceptor.CacheAspectSupport (OnBeanCondition)
Matched:
- @ConditionalOnClass found required class 'org.springframework.cache.CacheManager'; @ConditionalOnMissingClass did not find unwanted class (OnClassCondition)
CacheAutoConfiguration.CacheManagerJpaDependencyConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean' (OnClassCondition)
- Ancestor org.springframework.boot.autoconfigure.cache.CacheAutoConfiguration did not match (ConditionEvaluationReport.AncestorsMatchedCondition)
CaffeineCacheConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'com.github.benmanes.caffeine.cache.Caffeine', 'org.springframework.cache.caffeine.CaffeineCacheManager' (OnClassCondition)
CassandraAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'com.datastax.driver.core.Cluster' (OnClassCondition)
CassandraDataAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'com.datastax.driver.core.Cluster', 'org.springframework.data.cassandra.core.CassandraAdminOperations' (OnClassCondition)
CassandraReactiveDataAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'com.datastax.driver.core.Cluster', 'org.springframework.data.cassandra.core.ReactiveCassandraTemplate', 'reactor.core.publisher.Flux' (OnClassCondition)
CassandraReactiveRepositoriesAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'org.springframework.data.cassandra.ReactiveSession', 'org.springframework.data.cassandra.repository.ReactiveCassandraRepository' (OnClassCondition)
CassandraRepositoriesAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'com.datastax.driver.core.Session', 'org.springframework.data.cassandra.repository.CassandraRepository' (OnClassCondition)
CloudAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'org.springframework.cloud.config.java.CloudScanConfiguration' (OnClassCondition)
CouchbaseAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'com.couchbase.client.java.CouchbaseBucket', 'com.couchbase.client.java.Cluster' (OnClassCondition)
CouchbaseCacheConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'com.couchbase.client.java.Bucket', 'com.couchbase.client.spring.cache.CouchbaseCacheManager' (OnClassCondition)
CouchbaseDataAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'com.couchbase.client.java.Bucket', 'org.springframework.data.couchbase.repository.CouchbaseRepository' (OnClassCondition)
CouchbaseReactiveDataAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'com.couchbase.client.java.Bucket', 'org.springframework.data.couchbase.repository.ReactiveCouchbaseRepository', 'reactor.core.publisher.Flux' (OnClassCondition)
CouchbaseReactiveRepositoriesAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'com.couchbase.client.java.Bucket', 'org.springframework.data.couchbase.repository.ReactiveCouchbaseRepository', 'reactor.core.publisher.Flux' (OnClassCondition)
CouchbaseRepositoriesAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'com.couchbase.client.java.Bucket', 'org.springframework.data.couchbase.repository.CouchbaseRepository' (OnClassCondition)
DataSourceAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType' (OnClassCondition)
DataSourceTransactionManagerAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'org.springframework.jdbc.core.JdbcTemplate', 'org.springframework.transaction.PlatformTransactionManager' (OnClassCondition)
DispatcherServletAutoConfiguration.DispatcherServletConfiguration#multipartResolver:
Did not match:
- @ConditionalOnBean (types: org.springframework.web.multipart.MultipartResolver; SearchStrategy: all) did not find any beans of type org.springframework.web.multipart.MultipartResolver (OnBeanCondition)
EhCacheCacheConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'net.sf.ehcache.Cache', 'org.springframework.cache.ehcache.EhCacheCacheManager' (OnClassCondition)
ElasticsearchAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'org.elasticsearch.client.Client', 'org.springframework.data.elasticsearch.client.TransportClientFactoryBean' (OnClassCondition)
ElasticsearchDataAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'org.elasticsearch.client.Client', 'org.springframework.data.elasticsearch.core.ElasticsearchTemplate' (OnClassCondition)
ElasticsearchRepositoriesAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'org.elasticsearch.client.Client', 'org.springframework.data.elasticsearch.repository.ElasticsearchRepository' (OnClassCondition)
EmbeddedLdapAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'com.unboundid.ldap.listener.InMemoryDirectoryServer' (OnClassCondition)
EmbeddedMongoAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'com.mongodb.MongoClient', 'de.flapdoodle.embed.mongo.MongodStarter' (OnClassCondition)
EmbeddedWebServerFactoryCustomizerAutoConfiguration.JettyWebServerFactoryCustomizerConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'org.eclipse.jetty.server.Server', 'org.eclipse.jetty.util.Loader', 'org.eclipse.jetty.webapp.WebAppContext' (OnClassCondition)
EmbeddedWebServerFactoryCustomizerAutoConfiguration.UndertowWebServerFactoryCustomizerConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'io.undertow.Undertow', 'org.xnio.SslClientAuthMode' (OnClassCondition)
ErrorWebFluxAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'org.springframework.web.reactive.config.WebFluxConfigurer' (OnClassCondition)
FlywayAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'org.flywaydb.core.Flyway' (OnClassCondition)
FreeMarkerAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'freemarker.template.Configuration', 'org.springframework.ui.freemarker.FreeMarkerConfigurationFactory' (OnClassCondition)
GroovyTemplateAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'groovy.text.markup.MarkupTemplateEngine' (OnClassCondition)
GsonAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'com.google.gson.Gson' (OnClassCondition)
GsonHttpMessageConvertersConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'com.google.gson.Gson' (OnClassCondition)
H2ConsoleAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'org.h2.server.web.WebServlet' (OnClassCondition)
HazelcastAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'com.hazelcast.core.HazelcastInstance' (OnClassCondition)
HazelcastCacheConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'com.hazelcast.core.HazelcastInstance', 'com.hazelcast.spring.cache.HazelcastCacheManager' (OnClassCondition)
HazelcastJpaDependencyAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'com.hazelcast.core.HazelcastInstance', 'org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean' (OnClassCondition)
HibernateJpaAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean', 'javax.persistence.EntityManager' (OnClassCondition)
HttpHandlerAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'org.springframework.web.reactive.DispatcherHandler' (OnClassCondition)
HypermediaAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'org.springframework.hateoas.Resource', 'org.springframework.plugin.core.Plugin' (OnClassCondition)
InfinispanCacheConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'org.infinispan.spring.provider.SpringEmbeddedCacheManager' (OnClassCondition)
InfluxDbAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'org.influxdb.InfluxDB' (OnClassCondition)
IntegrationAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'org.springframework.integration.config.EnableIntegration' (OnClassCondition)
JCacheCacheConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'javax.cache.Caching', 'org.springframework.cache.jcache.JCacheCacheManager' (OnClassCondition)
JacksonAutoConfiguration.JodaDateTimeJacksonConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'org.joda.time.DateTime', 'com.fasterxml.jackson.datatype.joda.ser.DateTimeSerializer', 'com.fasterxml.jackson.datatype.joda.cfg.JacksonJodaDateFormat' (OnClassCondition)
JacksonHttpMessageConvertersConfiguration.MappingJackson2XmlHttpMessageConverterConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'com.fasterxml.jackson.dataformat.xml.XmlMapper' (OnClassCondition)
JdbcTemplateAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'org.springframework.jdbc.core.JdbcTemplate' (OnClassCondition)
JerseyAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'org.glassfish.jersey.server.spring.SpringComponentProvider' (OnClassCondition)
JestAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'io.searchbox.client.JestClient' (OnClassCondition)
JmsAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'javax.jms.Message', 'org.springframework.jms.core.JmsTemplate' (OnClassCondition)
JndiConnectionFactoryAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'org.springframework.jms.core.JmsTemplate' (OnClassCondition)
JndiDataSourceAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType' (OnClassCondition)
JooqAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'org.jooq.DSLContext' (OnClassCondition)
JpaRepositoriesAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'org.springframework.data.jpa.repository.JpaRepository' (OnClassCondition)
JsonbAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'javax.json.bind.Jsonb' (OnClassCondition)
JsonbHttpMessageConvertersConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'javax.json.bind.Jsonb' (OnClassCondition)
JtaAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'javax.transaction.Transaction' (OnClassCondition)
KafkaAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'org.springframework.kafka.core.KafkaTemplate' (OnClassCondition)
LdapAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'org.springframework.ldap.core.ContextSource' (OnClassCondition)
LdapDataAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'org.springframework.data.ldap.repository.LdapRepository' (OnClassCondition)
LdapRepositoriesAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'org.springframework.data.ldap.repository.LdapRepository' (OnClassCondition)
LiquibaseAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'liquibase.integration.spring.SpringLiquibase', 'liquibase.change.DatabaseChange' (OnClassCondition)
MailSenderAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'javax.mail.internet.MimeMessage' (OnClassCondition)
MailSenderValidatorAutoConfiguration:
Did not match:
- @ConditionalOnProperty (spring.mail.test-connection) did not find property 'test-connection' (OnPropertyCondition)
MessageSourceAutoConfiguration:
Did not match:
- ResourceBundle did not find bundle with basename messages (MessageSourceAutoConfiguration.ResourceBundleCondition)
MongoAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'com.mongodb.MongoClient' (OnClassCondition)
MongoDataAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'com.mongodb.MongoClient', 'org.springframework.data.mongodb.core.MongoTemplate' (OnClassCondition)
MongoReactiveAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'com.mongodb.reactivestreams.client.MongoClient' (OnClassCondition)
MongoReactiveDataAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'com.mongodb.reactivestreams.client.MongoClient', 'org.springframework.data.mongodb.core.ReactiveMongoTemplate' (OnClassCondition)
MongoReactiveRepositoriesAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'com.mongodb.reactivestreams.client.MongoClient', 'org.springframework.data.mongodb.repository.ReactiveMongoRepository' (OnClassCondition)
MongoRepositoriesAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'com.mongodb.MongoClient', 'org.springframework.data.mongodb.repository.MongoRepository' (OnClassCondition)
MustacheAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'com.samskivert.mustache.Mustache' (OnClassCondition)
Neo4jDataAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'org.neo4j.ogm.session.SessionFactory', 'org.springframework.data.neo4j.transaction.Neo4jTransactionManager', 'org.springframework.transaction.PlatformTransactionManager' (OnClassCondition)
Neo4jRepositoriesAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'org.neo4j.ogm.session.Neo4jSession', 'org.springframework.data.neo4j.repository.Neo4jRepository' (OnClassCondition)
OAuth2ClientAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'org.springframework.security.config.annotation.web.configuration.EnableWebSecurity', 'org.springframework.security.oauth2.client.registration.ClientRegistration' (OnClassCondition)
PersistenceExceptionTranslationAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor' (OnClassCondition)
ProjectInfoAutoConfiguration#buildProperties:
Did not match:
- @ConditionalOnResource did not find resource '${spring.info.build.location:classpath:META-INF/build-info.properties}' (OnResourceCondition)
ProjectInfoAutoConfiguration#gitProperties:
Did not match:
- GitResource did not find git info at classpath:git.properties (ProjectInfoAutoConfiguration.GitResourceAvailableCondition)
QuartzAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'org.quartz.Scheduler', 'org.springframework.scheduling.quartz.SchedulerFactoryBean', 'org.springframework.transaction.PlatformTransactionManager' (OnClassCondition)
RabbitAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'org.springframework.amqp.rabbit.core.RabbitTemplate', 'com.rabbitmq.client.Channel' (OnClassCondition)
ReactiveUserDetailsServiceAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'org.springframework.security.authentication.ReactiveAuthenticationManager' (OnClassCondition)
ReactiveWebServerFactoryAutoConfiguration:
Did not match:
- not a reactive web application (OnWebApplicationCondition)
Matched:
- @ConditionalOnClass found required class 'org.springframework.http.ReactiveHttpInputMessage'; @ConditionalOnMissingClass did not find unwanted class (OnClassCondition)
ReactorCoreAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'reactor.core.publisher.Mono', 'reactor.core.publisher.Flux' (OnClassCondition)
RedisAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'org.springframework.data.redis.core.RedisOperations' (OnClassCondition)
RedisReactiveAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'org.springframework.data.redis.connection.ReactiveRedisConnectionFactory', 'org.springframework.data.redis.core.ReactiveRedisTemplate', 'reactor.core.publisher.Flux' (OnClassCondition)
RedisRepositoriesAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'org.springframework.data.redis.repository.configuration.EnableRedisRepositories' (OnClassCondition)
RepositoryRestMvcAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration' (OnClassCondition)
SecurityAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'org.springframework.security.authentication.DefaultAuthenticationEventPublisher' (OnClassCondition)
SecurityFilterAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'org.springframework.security.web.context.AbstractSecurityWebApplicationInitializer', 'org.springframework.security.config.http.SessionCreationPolicy' (OnClassCondition)
SendGridAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'com.sendgrid.SendGrid' (OnClassCondition)
ServletWebServerFactoryConfiguration.EmbeddedJetty:
Did not match:
- @ConditionalOnClass did not find required classes 'org.eclipse.jetty.server.Server', 'org.eclipse.jetty.util.Loader', 'org.eclipse.jetty.webapp.WebAppContext' (OnClassCondition)
ServletWebServerFactoryConfiguration.EmbeddedUndertow:
Did not match:
- @ConditionalOnClass did not find required classes 'io.undertow.Undertow', 'org.xnio.SslClientAuthMode' (OnClassCondition)
SessionAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'org.springframework.session.Session' (OnClassCondition)
SolrAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'org.apache.solr.client.solrj.impl.HttpSolrClient', 'org.apache.solr.client.solrj.impl.CloudSolrClient' (OnClassCondition)
SolrRepositoriesAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'org.apache.solr.client.solrj.SolrClient', 'org.springframework.data.solr.repository.SolrRepository' (OnClassCondition)
SpringDataWebAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'org.springframework.data.web.PageableHandlerMethodArgumentResolver' (OnClassCondition)
ThymeleafAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'org.thymeleaf.templatemode.TemplateMode' (OnClassCondition)
TransactionAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'org.springframework.transaction.PlatformTransactionManager' (OnClassCondition)
UserDetailsServiceAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'org.springframework.security.authentication.AuthenticationManager' (OnClassCondition)
WebClientAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'org.springframework.web.reactive.function.client.WebClient' (OnClassCondition)
WebFluxAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'org.springframework.web.reactive.config.WebFluxConfigurer' (OnClassCondition)
WebFluxSecurityConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'org.springframework.security.config.annotation.web.reactive.EnableWebFluxSecurity', 'org.springframework.security.web.server.WebFilterChainProxy' (OnClassCondition)
WebMvcAutoConfiguration.ResourceChainCustomizerConfiguration:
Did not match:
- @ConditionalOnEnabledResourceChain did not find class org.webjars.WebJarAssetLocator (OnEnabledResourceChainCondition)
WebMvcAutoConfiguration.WebMvcAutoConfigurationAdapter#beanNameViewResolver:
Did not match:
- @ConditionalOnMissingBean (types: org.springframework.web.servlet.view.BeanNameViewResolver; SearchStrategy: all) found beans of type 'org.springframework.web.servlet.view.BeanNameViewResolver' beanNameViewResolver (OnBeanCondition)
WebMvcAutoConfiguration.WebMvcAutoConfigurationAdapter#localeResolver:
Did not match:
- @ConditionalOnProperty (spring.mvc.locale) did not find property 'locale' (OnPropertyCondition)
WebServicesAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'org.springframework.ws.transport.http.MessageDispatcherServlet' (OnClassCondition)
WebSocketMessagingAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer' (OnClassCondition)
WebSocketReactiveAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'javax.websocket.server.ServerContainer' (OnClassCondition)
WebSocketServletAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required class 'javax.websocket.server.ServerContainer' (OnClassCondition)
XADataSourceAutoConfiguration:
Did not match:
- @ConditionalOnClass did not find required classes 'javax.transaction.TransactionManager', 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType' (OnClassCondition)
Exclusions:
-----------
None
Unconditional classes:
----------------------
org.springframework.boot.autoconfigure.security.reactive.ReactiveSecurityAutoConfiguration
org.springframework.boot.autoconfigure.context.ConfigurationPropertiesAutoConfiguration
org.springframework.boot.autoconfigure.context.PropertyPlaceholderAutoConfiguration
org.springframework.boot.autoconfigure.web.embedded.EmbeddedWebServerFactoryCustomizerAutoConfiguration
org.springframework.boot.autoconfigure.info.ProjectInfoAutoConfiguration
2019-06-18 11:26:23.764 INFO 15507 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path ''
2019-06-18 11:26:23.772 INFO 15507 --- [ main] c.h.springboot.example.Application : Started Application in 6.862 seconds (JVM running for 8.049)
2019-06-18 11:26:23.780 INFO 15507 --- [ main] c.h.springboot.example.Application : application
2019-06-18 11:26:23.781 INFO 15507 --- [ main] c.h.springboot.example.Application : basicErrorController
2019-06-18 11:26:23.781 INFO 15507 --- [ main] c.h.springboot.example.Application : beanNameHandlerMapping
2019-06-18 11:26:23.781 INFO 15507 --- [ main] c.h.springboot.example.Application : beanNameViewResolver
2019-06-18 11:26:23.781 INFO 15507 --- [ main] c.h.springboot.example.Application : characterEncodingFilter
2019-06-18 11:26:23.782 INFO 15507 --- [ main] c.h.springboot.example.Application : conventionErrorViewResolver
2019-06-18 11:26:23.782 INFO 15507 --- [ main] c.h.springboot.example.Application : defaultServletHandlerMapping
2019-06-18 11:26:23.782 INFO 15507 --- [ main] c.h.springboot.example.Application : defaultValidator
2019-06-18 11:26:23.782 INFO 15507 --- [ main] c.h.springboot.example.Application : defaultViewResolver
2019-06-18 11:26:23.782 INFO 15507 --- [ main] c.h.springboot.example.Application : dispatcherServlet
2019-06-18 11:26:23.783 INFO 15507 --- [ main] c.h.springboot.example.Application : dispatcherServletRegistration
2019-06-18 11:26:23.783 INFO 15507 --- [ main] c.h.springboot.example.Application : error
2019-06-18 11:26:23.783 INFO 15507 --- [ main] c.h.springboot.example.Application : errorAttributes
2019-06-18 11:26:23.783 INFO 15507 --- [ main] c.h.springboot.example.Application : errorPageCustomizer
2019-06-18 11:26:23.783 INFO 15507 --- [ main] c.h.springboot.example.Application : errorPageRegistrarBeanPostProcessor
2019-06-18 11:26:23.784 INFO 15507 --- [ main] c.h.springboot.example.Application : faviconHandlerMapping
2019-06-18 11:26:23.784 INFO 15507 --- [ main] c.h.springboot.example.Application : faviconRequestHandler
2019-06-18 11:26:23.784 INFO 15507 --- [ main] c.h.springboot.example.Application : handlerExceptionResolver
2019-06-18 11:26:23.784 INFO 15507 --- [ main] c.h.springboot.example.Application : hiddenHttpMethodFilter
2019-06-18 11:26:23.784 INFO 15507 --- [ main] c.h.springboot.example.Application : httpPutFormContentFilter
2019-06-18 11:26:23.785 INFO 15507 --- [ main] c.h.springboot.example.Application : httpRequestHandlerAdapter
2019-06-18 11:26:23.785 INFO 15507 --- [ main] c.h.springboot.example.Application : jacksonCodecCustomizer
2019-06-18 11:26:23.785 INFO 15507 --- [ main] c.h.springboot.example.Application : jacksonObjectMapper
2019-06-18 11:26:23.785 INFO 15507 --- [ main] c.h.springboot.example.Application : jacksonObjectMapperBuilder
2019-06-18 11:26:23.785 INFO 15507 --- [ main] c.h.springboot.example.Application : jsonComponentModule
2019-06-18 11:26:23.785 INFO 15507 --- [ main] c.h.springboot.example.Application : localeCharsetMappingsCustomizer
2019-06-18 11:26:23.786 INFO 15507 --- [ main] c.h.springboot.example.Application : mappingJackson2HttpMessageConverter
2019-06-18 11:26:23.786 INFO 15507 --- [ main] c.h.springboot.example.Application : mbeanExporter
2019-06-18 11:26:23.786 INFO 15507 --- [ main] c.h.springboot.example.Application : mbeanServer
2019-06-18 11:26:23.786 INFO 15507 --- [ main] c.h.springboot.example.Application : messageConverters
2019-06-18 11:26:23.786 INFO 15507 --- [ main] c.h.springboot.example.Application : methodValidationPostProcessor
2019-06-18 11:26:23.787 INFO 15507 --- [ main] c.h.springboot.example.Application : multipartConfigElement
2019-06-18 11:26:23.787 INFO 15507 --- [ main] c.h.springboot.example.Application : multipartResolver
2019-06-18 11:26:23.787 INFO 15507 --- [ main] c.h.springboot.example.Application : mvcContentNegotiationManager
2019-06-18 11:26:23.787 INFO 15507 --- [ main] c.h.springboot.example.Application : mvcConversionService
2019-06-18 11:26:23.787 INFO 15507 --- [ main] c.h.springboot.example.Application : mvcHandlerMappingIntrospector
2019-06-18 11:26:23.787 INFO 15507 --- [ main] c.h.springboot.example.Application : mvcPathMatcher
2019-06-18 11:26:23.788 INFO 15507 --- [ main] c.h.springboot.example.Application : mvcResourceUrlProvider
2019-06-18 11:26:23.788 INFO 15507 --- [ main] c.h.springboot.example.Application : mvcUriComponentsContributor
2019-06-18 11:26:23.788 INFO 15507 --- [ main] c.h.springboot.example.Application : mvcUrlPathHelper
2019-06-18 11:26:23.788 INFO 15507 --- [ main] c.h.springboot.example.Application : mvcValidator
2019-06-18 11:26:23.788 INFO 15507 --- [ main] c.h.springboot.example.Application : mvcViewResolver
2019-06-18 11:26:23.789 INFO 15507 --- [ main] c.h.springboot.example.Application : objectNamingStrategy
2019-06-18 11:26:23.789 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.AutoConfigurationPackages
2019-06-18 11:26:23.789 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.admin.SpringApplicationAdminJmxAutoConfiguration
2019-06-18 11:26:23.789 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.condition.BeanTypeRegistry
2019-06-18 11:26:23.789 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.context.ConfigurationPropertiesAutoConfiguration
2019-06-18 11:26:23.790 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.context.PropertyPlaceholderAutoConfiguration
2019-06-18 11:26:23.790 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.http.HttpMessageConvertersAutoConfiguration
2019-06-18 11:26:23.790 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.http.HttpMessageConvertersAutoConfiguration$StringHttpMessageConverterConfiguration
2019-06-18 11:26:23.790 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.http.JacksonHttpMessageConvertersConfiguration
2019-06-18 11:26:23.790 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.http.JacksonHttpMessageConvertersConfiguration$MappingJackson2HttpMessageConverterConfiguration
2019-06-18 11:26:23.790 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.http.codec.CodecsAutoConfiguration
2019-06-18 11:26:23.791 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.http.codec.CodecsAutoConfiguration$JacksonCodecConfiguration
2019-06-18 11:26:23.791 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.info.ProjectInfoAutoConfiguration
2019-06-18 11:26:23.791 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.internalCachingMetadataReaderFactory
2019-06-18 11:26:23.791 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration
2019-06-18 11:26:23.791 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration$Jackson2ObjectMapperBuilderCustomizerConfiguration
2019-06-18 11:26:23.791 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration$JacksonObjectMapperBuilderConfiguration
2019-06-18 11:26:23.792 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration$JacksonObjectMapperConfiguration
2019-06-18 11:26:23.792 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration$ParameterNamesModuleConfiguration
2019-06-18 11:26:23.792 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.jmx.JmxAutoConfiguration
2019-06-18 11:26:23.792 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.security.reactive.ReactiveSecurityAutoConfiguration
2019-06-18 11:26:23.792 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration
2019-06-18 11:26:23.793 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.web.client.RestTemplateAutoConfiguration
2019-06-18 11:26:23.793 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.web.embedded.EmbeddedWebServerFactoryCustomizerAutoConfiguration
2019-06-18 11:26:23.793 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.web.embedded.EmbeddedWebServerFactoryCustomizerAutoConfiguration$TomcatWebServerFactoryCustomizerConfiguration
2019-06-18 11:26:23.793 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.web.servlet.DispatcherServletAutoConfiguration
2019-06-18 11:26:23.793 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.web.servlet.DispatcherServletAutoConfiguration$DispatcherServletConfiguration
2019-06-18 11:26:23.793 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.web.servlet.DispatcherServletAutoConfiguration$DispatcherServletRegistrationConfiguration
2019-06-18 11:26:23.794 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.web.servlet.HttpEncodingAutoConfiguration
2019-06-18 11:26:23.794 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.web.servlet.MultipartAutoConfiguration
2019-06-18 11:26:23.794 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.web.servlet.ServletWebServerFactoryAutoConfiguration
2019-06-18 11:26:23.794 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.web.servlet.ServletWebServerFactoryConfiguration$EmbeddedTomcat
2019-06-18 11:26:23.795 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration
2019-06-18 11:26:23.795 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$EnableWebMvcConfiguration
2019-06-18 11:26:23.795 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter
2019-06-18 11:26:23.795 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter$FaviconConfiguration
2019-06-18 11:26:23.795 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.web.servlet.error.ErrorMvcAutoConfiguration
2019-06-18 11:26:23.796 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.web.servlet.error.ErrorMvcAutoConfiguration$DefaultErrorViewResolverConfiguration
2019-06-18 11:26:23.796 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.boot.autoconfigure.web.servlet.error.ErrorMvcAutoConfiguration$WhitelabelErrorViewConfiguration
2019-06-18 11:26:23.796 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.boot.context.properties.ConfigurationBeanFactoryMetadata
2019-06-18 11:26:23.796 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor
2019-06-18 11:26:23.797 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.context.annotation.internalAutowiredAnnotationProcessor
2019-06-18 11:26:23.797 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.context.annotation.internalCommonAnnotationProcessor
2019-06-18 11:26:23.797 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.context.annotation.internalConfigurationAnnotationProcessor
2019-06-18 11:26:23.798 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.context.annotation.internalRequiredAnnotationProcessor
2019-06-18 11:26:23.798 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.context.event.internalEventListenerFactory
2019-06-18 11:26:23.798 INFO 15507 --- [ main] c.h.springboot.example.Application : org.springframework.context.event.internalEventListenerProcessor
2019-06-18 11:26:23.798 INFO 15507 --- [ main] c.h.springboot.example.Application : parameterNamesModule
2019-06-18 11:26:23.799 INFO 15507 --- [ main] c.h.springboot.example.Application : preserveErrorControllerTargetClassPostProcessor
2019-06-18 11:26:23.799 INFO 15507 --- [ main] c.h.springboot.example.Application : propertySourcesPlaceholderConfigurer
2019-06-18 11:26:23.799 INFO 15507 --- [ main] c.h.springboot.example.Application : requestContextFilter
2019-06-18 11:26:23.800 INFO 15507 --- [ main] c.h.springboot.example.Application : requestMappingHandlerAdapter
2019-06-18 11:26:23.800 INFO 15507 --- [ main] c.h.springboot.example.Application : requestMappingHandlerMapping
2019-06-18 11:26:23.800 INFO 15507 --- [ main] c.h.springboot.example.Application : resourceHandlerMapping
2019-06-18 11:26:23.800 INFO 15507 --- [ main] c.h.springboot.example.Application : restTemplateBuilder
2019-06-18 11:26:23.801 INFO 15507 --- [ main] c.h.springboot.example.Application : server-org.springframework.boot.autoconfigure.web.ServerProperties
2019-06-18 11:26:23.801 INFO 15507 --- [ main] c.h.springboot.example.Application : servletWebServerFactoryCustomizer
2019-06-18 11:26:23.801 INFO 15507 --- [ main] c.h.springboot.example.Application : simpleControllerHandlerAdapter
2019-06-18 11:26:23.801 INFO 15507 --- [ main] c.h.springboot.example.Application : spring.http.encoding-org.springframework.boot.autoconfigure.http.HttpEncodingProperties
2019-06-18 11:26:23.801 INFO 15507 --- [ main] c.h.springboot.example.Application : spring.info-org.springframework.boot.autoconfigure.info.ProjectInfoProperties
2019-06-18 11:26:23.802 INFO 15507 --- [ main] c.h.springboot.example.Application : spring.jackson-org.springframework.boot.autoconfigure.jackson.JacksonProperties
2019-06-18 11:26:23.802 INFO 15507 --- [ main] c.h.springboot.example.Application : spring.mvc-org.springframework.boot.autoconfigure.web.servlet.WebMvcProperties
2019-06-18 11:26:23.802 INFO 15507 --- [ main] c.h.springboot.example.Application : spring.resources-org.springframework.boot.autoconfigure.web.ResourceProperties
2019-06-18 11:26:23.802 INFO 15507 --- [ main] c.h.springboot.example.Application : spring.security-org.springframework.boot.autoconfigure.security.SecurityProperties
2019-06-18 11:26:23.803 INFO 15507 --- [ main] c.h.springboot.example.Application : spring.servlet.multipart-org.springframework.boot.autoconfigure.web.servlet.MultipartProperties
2019-06-18 11:26:23.803 INFO 15507 --- [ main] c.h.springboot.example.Application : springApplicationAdminRegistrar
2019-06-18 11:26:23.803 INFO 15507 --- [ main] c.h.springboot.example.Application : standardJacksonObjectMapperBuilderCustomizer
2019-06-18 11:26:23.803 INFO 15507 --- [ main] c.h.springboot.example.Application : stringHttpMessageConverter
2019-06-18 11:26:23.803 INFO 15507 --- [ main] c.h.springboot.example.Application : tomcatServletWebServerFactory
2019-06-18 11:26:23.804 INFO 15507 --- [ main] c.h.springboot.example.Application : tomcatServletWebServerFactoryCustomizer
2019-06-18 11:26:23.804 INFO 15507 --- [ main] c.h.springboot.example.Application : tomcatWebServerFactoryCustomizer
2019-06-18 11:26:23.804 INFO 15507 --- [ main] c.h.springboot.example.Application : viewControllerHandlerMapping
2019-06-18 11:26:23.804 INFO 15507 --- [ main] c.h.springboot.example.Application : viewResolver
2019-06-18 11:26:23.804 INFO 15507 --- [ main] c.h.springboot.example.Application : webServerFactoryCustomizerBeanPostProcessor
2019-06-18 11:26:23.805 INFO 15507 --- [ main] c.h.springboot.example.Application : welcomePageHandlerMapping
以上日志说明了为什么特定bean已注册到spring上下文中。使用自动配置调试问题时,此信息非常有用。
类似地,每次我们向Spring Boot项目添加新的依赖项时,Spring Boot自动配置会自动尝试根据依赖项配置bean。
我希望上面讨论的信息将在调试spring boot相关问题时帮助你。
快乐地学习吧!!