关于java:京淘01项目搭建

41次阅读

共计 39584 个字符,预计需要花费 99 分钟才能阅读完成。

一个商城我的项目,便于知识点汇总串联。

1. 我的项目架构

2. 项目表设计

2.1 表与表的关系

2.1.1 一对一

(1)商品与形容一对一
(2)形容与商品一对一

2.1.2 一对多

2.1.3 多对多

表的个数:3 个
表的设计:角色 – 权限

      一个角色对应多个权限
      一个权限对应多个角色

2.1.4 项目表设计图

2.2 数据库筹备

导入数据库
source E:/jtdb.sql;

2.3 IDEA 环境配置

临时省略,后补

3. SpringBoot 高级利用

3.1 创立我的项目

首先创立一个空我的项目,再创立 module

3.2 增加 jar 包

3.3 SpringBoot 中 pom.xml 文件阐明

3.4.1 maven 在 idea 中展示的名称

3.4.2 maven 的打包形式

clean: 清空 target 目录,编译的 class 文件
compile: 编译源文件
install: 我的项目打包

3.4.3 jar 包运行测试

command:
(1) java -jar xxxx.jar;
(2) ctrl + c 退出

3.4.4 pom.xml 中常见标签阐明

<?xml version="1.0" encoding="UTF-8"?>
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <groupId>com.jt</groupId>
    <artifactId>springboot_demo1</artifactId>
    <version>0.0.1-SNAPSHOT</version>
    <name>springboot_demo1</name>
    <!-- 打包品种:  jar war  pom(聚合我的项目 大型项目蕴含小我的项目)-->
    <packaging>jar</packaging>
    <description>Demo project for Spring Boot</description>


    <!--1.parent 标签作用: 定义我的项目版本依赖
        springBoot 官网进行调试之后的产品
        将 springBoot 所有关联的 jar 包对立的形式进行定义
    -->
    <parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>2.4.0</version>
        <relativePath/>
    </parent>

    <properties>
        <!-- 指定 JDK 版本 -->
        <java.version>1.8</java.version>
        <!-- 跳过测试类打包 -->
        <skipTests>true</skipTests>
    </properties>

    <!-- 依赖的作用: 依赖须要的 jar 包文件  -->
    <dependencies>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <!--spring-boot-starter-xxx springboot 启动项
            开箱即用:
             只须要引入特定的 jar 包简略的配置, 即能够应用该性能
             -->
            <artifactId>spring-boot-starter-web</artifactId>
        </dependency>

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-test</artifactId>
            <scope>test</scope>
        </dependency>
    </dependencies>

    <!-- 让程序应用 maven 命令时, 依照指定插件运行 必须配置 -->
    <build>
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
            </plugin>
        </plugins>
    </build>

</project>

3.5 SpringBoot 启动流程

3.5.1 元注解

@Target(ElementType.TYPE) 该注解对类无效
@Retention(RetentionPolicy.RUNTIME) 示意运行期无效,在整个周期
@Documented 动静生成文档信息
@Inherited  该注解是否容许被继承 容许

3.5.2 excludeFilters 排除过滤器启动

@ComponentScan(excludeFilters = { @Filter(type = FilterType.CUSTOM, classes = TypeExcludeFilter.class),
@Filter(type = FilterType.CUSTOM, classes = AutoConfigurationExcludeFilter.class) })

用处:因为 SpringBoot 须要的主动加载项很多,因而采纳反向的形式来排除某些加载项,保障后续代码不抵触。

3.5.3 @SpringBootConfiguration 注解阐明



3.5.4 @EnableAutoConfiguration 注解阐明

1).@AutoConfigurationPackage 规定: 指定了 springBoot 启动时包扫描的门路 应该在主启动类的同包及子包中下定义.

2).@Import(AutoConfigurationImportSelector.class) 阐明: 该注解次要示意当程序启动时,springBoot 外部会有多个选择器 顺次启动 . 选择器启动时会去加载 指定的 jar 包文件. 这时 SpringBoot 中开箱即用的性能才正式起作用.

3).springBoot 启动时自动化配置程序如下

CONDITIONS EVALUATION REPORT

Positive matches:

AopAutoConfiguration matched:

  - @ConditionalOnProperty (spring.aop.auto=true) matched (OnPropertyCondition)

AopAutoConfiguration.ClassProxyingConfiguration matched:

  - @ConditionalOnMissingClass did not find unwanted class 'org.aspectj.weaver.Advice' (OnClassCondition)
  - @ConditionalOnProperty (spring.aop.proxy-target-class=true) matched (OnPropertyCondition)

DispatcherServletAutoConfiguration matched:

  - @ConditionalOnClass found required class 'org.springframework.web.servlet.DispatcherServlet' (OnClassCondition)
  - found 'session' scope (OnWebApplicationCondition)

DispatcherServletAutoConfiguration.DispatcherServletConfiguration matched:

  - @ConditionalOnClass found required class 'javax.servlet.ServletRegistration' (OnClassCondition)
  - Default DispatcherServlet did not find dispatcher servlet beans (DispatcherServletAutoConfiguration.DefaultDispatcherServletCondition)

DispatcherServletAutoConfiguration.DispatcherServletRegistrationConfiguration matched:

  - @ConditionalOnClass found required class 'javax.servlet.ServletRegistration' (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 matched:

  - @ConditionalOnWebApplication (required) found 'session' scope (OnWebApplicationCondition)

EmbeddedWebServerFactoryCustomizerAutoConfiguration.TomcatWebServerFactoryCustomizerConfiguration matched:

  - @ConditionalOnClass found required classes 'org.apache.catalina.startup.Tomcat', 'org.apache.coyote.UpgradeProtocol' (OnClassCondition)

ErrorMvcAutoConfiguration matched:

  - @ConditionalOnClass found required classes 'javax.servlet.Servlet', 'org.springframework.web.servlet.DispatcherServlet' (OnClassCondition)
  - found 'session' scope (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.ErrorViewResolver; 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' (OnClassCondition)
  - found 'session' scope (OnWebApplicationCondition)
  - @ConditionalOnProperty (server.servlet.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' (OnClassCondition)
  - NoneNestedConditions 0 matched 1 did not; NestedCondition on HttpMessageConvertersAutoConfiguration.NotReactiveWebApplicationCondition.ReactiveWebApplication did not find reactive web application classes (HttpMessageConvertersAutoConfiguration.NotReactiveWebApplicationCondition)

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' (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' (OnClassCondition)

JacksonAutoConfiguration.Jackson2ObjectMapperBuilderCustomizerConfiguration matched:

  - @ConditionalOnClass found required class 'org.springframework.http.converter.json.Jackson2ObjectMapperBuilder' (OnClassCondition)

JacksonAutoConfiguration.JacksonObjectMapperBuilderConfiguration matched:

  - @ConditionalOnClass found required class 'org.springframework.http.converter.json.Jackson2ObjectMapperBuilder' (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' (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' (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' (OnClassCondition)
  - @ConditionalOnProperty (spring.mvc.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 ignored: org.springframework.hateoas.server.mvc.TypeConstrainedMappingJackson2HttpMessageConverter,org.springframework.data.rest.webmvc.alps.AlpsJsonHttpMessageConverter; SearchStrategy: all) did not find any beans (OnBeanCondition)

LifecycleAutoConfiguration#defaultLifecycleProcessor matched:

  - @ConditionalOnMissingBean (names: lifecycleProcessor; 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' (OnClassCondition)
  - found 'session' scope (OnWebApplicationCondition)
  - @ConditionalOnProperty (spring.servlet.multipart.enabled) matched (OnPropertyCondition)

MultipartAutoConfiguration#multipartConfigElement matched:

  - @ConditionalOnMissingBean (types: javax.servlet.MultipartConfigElement,org.springframework.web.multipart.commons.CommonsMultipartResolver; 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)

RestTemplateAutoConfiguration matched:

  - @ConditionalOnClass found required class 'org.springframework.web.client.RestTemplate' (OnClassCondition)
  - NoneNestedConditions 0 matched 1 did not; NestedCondition on RestTemplateAutoConfiguration.NotReactiveWebApplicationCondition.ReactiveWebApplication did not find reactive web application classes (RestTemplateAutoConfiguration.NotReactiveWebApplicationCondition)

RestTemplateAutoConfiguration#restTemplateBuilder matched:

  - @ConditionalOnMissingBean (types: org.springframework.boot.web.client.RestTemplateBuilder; SearchStrategy: all) did not find any beans (OnBeanCondition)

RestTemplateAutoConfiguration#restTemplateBuilderConfigurer matched:

  - @ConditionalOnMissingBean (types: org.springframework.boot.autoconfigure.web.client.RestTemplateBuilderConfigurer; SearchStrategy: all) did not find any beans (OnBeanCondition)

ServletWebServerFactoryAutoConfiguration matched:

  - @ConditionalOnClass found required class 'javax.servlet.ServletRequest' (OnClassCondition)
  - found 'session' scope (OnWebApplicationCondition)

ServletWebServerFactoryAutoConfiguration#tomcatServletWebServerFactoryCustomizer matched:

  - @ConditionalOnClass found required class 'org.apache.catalina.startup.Tomcat' (OnClassCondition)

ServletWebServerFactoryConfiguration.EmbeddedTomcat matched:

  - @ConditionalOnClass found required classes 'javax.servlet.Servlet', 'org.apache.catalina.startup.Tomcat', 'org.apache.coyote.UpgradeProtocol' (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)

TaskExecutionAutoConfiguration matched:

  - @ConditionalOnClass found required class 'org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor' (OnClassCondition)

TaskExecutionAutoConfiguration#applicationTaskExecutor matched:

  - @ConditionalOnMissingBean (types: java.util.concurrent.Executor; SearchStrategy: all) did not find any beans (OnBeanCondition)

TaskExecutionAutoConfiguration#taskExecutorBuilder matched:

  - @ConditionalOnMissingBean (types: org.springframework.boot.task.TaskExecutorBuilder; SearchStrategy: all) did not find any beans (OnBeanCondition)

TaskSchedulingAutoConfiguration matched:

  - @ConditionalOnClass found required class 'org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler' (OnClassCondition)

TaskSchedulingAutoConfiguration#taskSchedulerBuilder matched:

  - @ConditionalOnMissingBean (types: org.springframework.boot.task.TaskSchedulerBuilder; 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' (OnClassCondition)
  - found 'session' scope (OnWebApplicationCondition)
  - @ConditionalOnMissingBean (types: org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport; SearchStrategy: all) did not find any beans (OnBeanCondition)

WebMvcAutoConfiguration#formContentFilter matched:

  - @ConditionalOnProperty (spring.mvc.formcontent.filter.enabled) matched (OnPropertyCondition)
  - @ConditionalOnMissingBean (types: org.springframework.web.filter.FormContentFilter; SearchStrategy: all) did not find any beans (OnBeanCondition)

WebMvcAutoConfiguration.EnableWebMvcConfiguration#localeResolver matched:

  - @ConditionalOnMissingBean (types: org.springframework.web.servlet.LocaleResolver; 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)

WebSocketServletAutoConfiguration matched:

  - @ConditionalOnClass found required classes 'javax.servlet.Servlet', 'javax.websocket.server.ServerContainer' (OnClassCondition)
  - found 'session' scope (OnWebApplicationCondition)

WebSocketServletAutoConfiguration.TomcatWebSocketConfiguration matched:

  - @ConditionalOnClass found required classes 'org.apache.catalina.startup.Tomcat', 'org.apache.tomcat.websocket.server.WsSci' (OnClassCondition)

WebSocketServletAutoConfiguration.TomcatWebSocketConfiguration#websocketServletWebServerCustomizer matched:

  - @ConditionalOnMissingBean (names: websocketServletWebServerCustomizer; SearchStrategy: all) did not find any beans (OnBeanCondition)

Negative matches:

ActiveMQAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'javax.jms.ConnectionFactory' (OnClassCondition)

AopAutoConfiguration.AspectJAutoProxyingConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'org.aspectj.weaver.Advice' (OnClassCondition)

ArtemisAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'javax.jms.ConnectionFactory' (OnClassCondition)

BatchAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'org.springframework.batch.core.launch.JobLauncher' (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' (OnClassCondition)

CacheAutoConfiguration.CacheManagerEntityManagerFactoryDependsOnPostProcessor:

  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 class 'com.github.benmanes.caffeine.cache.Caffeine' (OnClassCondition)

CassandraAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'com.datastax.oss.driver.api.core.CqlSession' (OnClassCondition)

CassandraDataAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'com.datastax.oss.driver.api.core.CqlSession' (OnClassCondition)

CassandraReactiveDataAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'com.datastax.oss.driver.api.core.CqlSession' (OnClassCondition)

CassandraReactiveRepositoriesAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'org.springframework.data.cassandra.ReactiveSession' (OnClassCondition)

CassandraRepositoriesAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'com.datastax.oss.driver.api.core.CqlSession' (OnClassCondition)

ClientHttpConnectorAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'org.springframework.web.reactive.function.client.WebClient' (OnClassCondition)

CodecsAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'org.springframework.web.reactive.function.client.WebClient' (OnClassCondition)

CouchbaseAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'com.couchbase.client.java.Cluster' (OnClassCondition)

CouchbaseCacheConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'com.couchbase.client.java.Cluster' (OnClassCondition)

CouchbaseDataAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'com.couchbase.client.java.Bucket' (OnClassCondition)

CouchbaseReactiveDataAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'com.couchbase.client.java.Cluster' (OnClassCondition)

CouchbaseReactiveRepositoriesAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'com.couchbase.client.java.Cluster' (OnClassCondition)

CouchbaseRepositoriesAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'com.couchbase.client.java.Bucket' (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 class 'org.springframework.jdbc.core.JdbcTemplate' (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 class 'net.sf.ehcache.Cache' (OnClassCondition)

ElasticsearchDataAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'org.springframework.data.elasticsearch.core.ElasticsearchRestTemplate' (OnClassCondition)

ElasticsearchRepositoriesAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'org.elasticsearch.client.Client' (OnClassCondition)

ElasticsearchRestClientAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'org.elasticsearch.client.RestHighLevelClient' (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 class 'com.mongodb.MongoClientSettings' (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.NettyWebServerFactoryCustomizerConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'reactor.netty.http.server.HttpServer' (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 class 'freemarker.template.Configuration' (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 class 'com.hazelcast.core.HazelcastInstance' (OnClassCondition)

HazelcastJpaDependencyAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'com.hazelcast.core.HazelcastInstance' (OnClassCondition)

HibernateJpaAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class '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 class 'org.springframework.hateoas.EntityModel' (OnClassCondition)

InfinispanCacheConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'org.infinispan.spring.embedded.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 class 'javax.cache.Caching' (OnClassCondition)

JacksonHttpMessageConvertersConfiguration.MappingJackson2XmlHttpMessageConverterConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'com.fasterxml.jackson.dataformat.xml.XmlMapper' (OnClassCondition)

JdbcRepositoriesAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'org.springframework.data.jdbc.repository.config.AbstractJdbcConfiguration' (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)

JmsAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'javax.jms.Message' (OnClassCondition)

JmxAutoConfiguration:

  Did not match:
     - @ConditionalOnProperty (spring.jmx.enabled=true) did not find property 'enabled' (OnPropertyCondition)
  Matched:
     - @ConditionalOnClass found required class 'org.springframework.jmx.export.MBeanExporter' (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)

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 class 'liquibase.change.DatabaseChange' (OnClassCondition)

MailSenderAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'javax.mail.internet.MimeMessage' (OnClassCondition)

MailSenderValidatorAutoConfiguration:

  Did not match:
     - @ConditionalOnSingleCandidate did not find required type 'org.springframework.mail.javamail.JavaMailSenderImpl' (OnBeanCondition)

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.client.MongoClient' (OnClassCondition)

MongoDataAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'com.mongodb.client.MongoClient' (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 class 'com.mongodb.reactivestreams.client.MongoClient' (OnClassCondition)

MongoReactiveRepositoriesAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'com.mongodb.reactivestreams.client.MongoClient' (OnClassCondition)

MongoRepositoriesAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'com.mongodb.client.MongoClient' (OnClassCondition)

MustacheAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'com.samskivert.mustache.Mustache' (OnClassCondition)

Neo4jAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'org.neo4j.driver.Driver' (OnClassCondition)

Neo4jDataAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'org.neo4j.driver.Driver' (OnClassCondition)

Neo4jReactiveDataAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'org.neo4j.driver.Driver' (OnClassCondition)

Neo4jReactiveRepositoriesAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'org.neo4j.driver.Driver' (OnClassCondition)

Neo4jRepositoriesAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'org.neo4j.driver.Driver' (OnClassCondition)

OAuth2ClientAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'org.springframework.security.config.annotation.web.configuration.EnableWebSecurity' (OnClassCondition)

OAuth2ResourceServerAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'org.springframework.security.oauth2.server.resource.BearerTokenAuthenticationToken' (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 class 'org.quartz.Scheduler' (OnClassCondition)

R2dbcAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'io.r2dbc.spi.ConnectionFactory' (OnClassCondition)

R2dbcDataAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'org.springframework.data.r2dbc.core.R2dbcEntityTemplate' (OnClassCondition)

R2dbcRepositoriesAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'io.r2dbc.spi.ConnectionFactory' (OnClassCondition)

R2dbcTransactionManagerAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'org.springframework.r2dbc.connection.R2dbcTransactionManager' (OnClassCondition)

RSocketMessagingAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'io.rsocket.RSocket' (OnClassCondition)

RSocketRequesterAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'io.rsocket.RSocket' (OnClassCondition)

RSocketSecurityAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'org.springframework.security.rsocket.core.SecuritySocketAcceptorInterceptor' (OnClassCondition)

RSocketServerAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'io.rsocket.core.RSocketServer' (OnClassCondition)

RSocketStrategiesAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'io.netty.buffer.PooledByteBufAllocator' (OnClassCondition)

RabbitAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'com.rabbitmq.client.Channel' (OnClassCondition)

ReactiveElasticsearchRepositoriesAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'org.springframework.data.elasticsearch.client.reactive.ReactiveElasticsearchClient' (OnClassCondition)

ReactiveElasticsearchRestClientAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'reactor.netty.http.client.HttpClient' (OnClassCondition)

ReactiveOAuth2ClientAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'reactor.core.publisher.Flux' (OnClassCondition)

ReactiveOAuth2ResourceServerAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'org.springframework.security.config.annotation.web.reactive.EnableWebFluxSecurity' (OnClassCondition)

ReactiveSecurityAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'reactor.core.publisher.Flux' (OnClassCondition)

ReactiveUserDetailsServiceAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'org.springframework.security.authentication.ReactiveAuthenticationManager' (OnClassCondition)

ReactiveWebServerFactoryAutoConfiguration:

  Did not match:
     - @ConditionalOnWebApplication did not find reactive web application classes (OnWebApplicationCondition)

RedisAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'org.springframework.data.redis.core.RedisOperations' (OnClassCondition)

RedisCacheConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'org.springframework.data.redis.connection.RedisConnectionFactory' (OnClassCondition)

RedisReactiveAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class '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)

Saml2RelyingPartyAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistrationRepository' (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 class 'org.springframework.security.config.http.SessionCreationPolicy' (OnClassCondition)

SendGridAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'com.sendgrid.SendGrid' (OnClassCondition)

ServletWebServerFactoryAutoConfiguration#forwardedHeaderFilter:

  Did not match:
     - @ConditionalOnProperty (server.forward-headers-strategy=framework) did not find property 'server.forward-headers-strategy' (OnPropertyCondition)

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 class 'org.apache.solr.client.solrj.impl.CloudSolrClient' (OnClassCondition)

SolrRepositoriesAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'org.apache.solr.client.solrj.SolrClient' (OnClassCondition)

SpringApplicationAdminJmxAutoConfiguration:

  Did not match:
     - @ConditionalOnProperty (spring.application.admin.enabled=true) did not find property 'enabled' (OnPropertyCondition)

SpringDataWebAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'org.springframework.data.web.PageableHandlerMethodArgumentResolver' (OnClassCondition)

TaskSchedulingAutoConfiguration#taskScheduler:

  Did not match:
     - @ConditionalOnBean (names: org.springframework.context.annotation.internalScheduledAnnotationProcessor; SearchStrategy: all) did not find any beans named org.springframework.context.annotation.internalScheduledAnnotationProcessor (OnBeanCondition)

ThymeleafAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'org.thymeleaf.spring5.SpringTemplateEngine' (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)

ValidationAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'javax.validation.executable.ExecutableValidator' (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)

WebMvcAutoConfiguration#hiddenHttpMethodFilter:

  Did not match:
     - @ConditionalOnProperty (spring.mvc.hiddenmethod.filter.enabled) did not find property 'enabled' (OnPropertyCondition)

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)

WebServiceTemplateAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'org.springframework.oxm.Marshaller' (OnClassCondition)

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:
     - @ConditionalOnWebApplication did not find reactive web application classes (OnWebApplicationCondition)

WebSocketServletAutoConfiguration.JettyWebSocketConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'org.eclipse.jetty.websocket.jsr356.server.deploy.WebSocketServerContainerInitializer' (OnClassCondition)

WebSocketServletAutoConfiguration.UndertowWebSocketConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'io.undertow.websockets.jsr.Bootstrap' (OnClassCondition)

XADataSourceAutoConfiguration:

  Did not match:
     - @ConditionalOnClass did not find required class 'javax.transaction.TransactionManager' (OnClassCondition)

Exclusions:

None

Unconditional classes:

org.springframework.boot.autoconfigure.context.ConfigurationPropertiesAutoConfiguration

org.springframework.boot.autoconfigure.context.LifecycleAutoConfiguration

org.springframework.boot.autoconfigure.context.PropertyPlaceholderAutoConfiguration

org.springframework.boot.autoconfigure.availability.ApplicationAvailabilityAutoConfiguration

org.springframework.boot.autoconfigure.info.ProjectInfoAutoConfiguration

      

正文完
 0