Skip to content

Commit 65f5f03

Browse files
snicollwilkinsona
authored andcommitted
Create spring-boot-validation module
1 parent 6159a48 commit 65f5f03

File tree

39 files changed

+89
-59
lines changed

39 files changed

+89
-59
lines changed

settings.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ include "spring-boot-project:spring-boot-tools:spring-boot-test-support"
8484
include "spring-boot-project:spring-boot-tools:spring-boot-test-support-docker"
8585
include "spring-boot-project:spring-boot-tx"
8686
include "spring-boot-project:spring-boot-undertow"
87+
include "spring-boot-project:spring-boot-validation"
8788
include "spring-boot-system-tests:spring-boot-deployment-tests"
8889
include "spring-boot-system-tests:spring-boot-image-tests"
8990
include "spring-boot-tests:spring-boot-integration-tests:spring-boot-configuration-processor-tests"

spring-boot-project/spring-boot-actuator-autoconfigure/build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ dependencies {
2929
optional(project(":spring-boot-project:spring-boot-reactor-netty"))
3030
optional(project(":spring-boot-project:spring-boot-tomcat"))
3131
optional(project(":spring-boot-project:spring-boot-undertow"))
32+
optional(project(":spring-boot-project:spring-boot-validation"))
3233
optional("ch.qos.logback:logback-classic")
3334
optional("org.apache.cassandra:java-driver-core") {
3435
exclude group: "org.slf4j", module: "jcl-over-slf4j"

spring-boot-project/spring-boot-actuator/build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ dependencies {
3131
optional(project(":spring-boot-project:spring-boot-reactor-netty"))
3232
optional(project(":spring-boot-project:spring-boot-tomcat"))
3333
optional(project(":spring-boot-project:spring-boot-undertow"))
34+
optional(project(":spring-boot-project:spring-boot-validation"))
3435
optional("org.apache.cassandra:java-driver-core") {
3536
exclude group: "org.slf4j", module: "jcl-over-slf4j"
3637
}

spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/endpoint/web/annotation/ControllerEndpointDiscovererTests.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2024 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -31,10 +31,10 @@
3131
import org.springframework.boot.actuate.endpoint.annotation.Endpoint;
3232
import org.springframework.boot.actuate.endpoint.annotation.ReadOperation;
3333
import org.springframework.boot.autoconfigure.AutoConfigurations;
34-
import org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration;
3534
import org.springframework.boot.test.context.assertj.AssertableApplicationContext;
3635
import org.springframework.boot.test.context.runner.ApplicationContextRunner;
3736
import org.springframework.boot.test.context.runner.ContextConsumer;
37+
import org.springframework.boot.validation.autoconfigure.ValidationAutoConfiguration;
3838
import org.springframework.context.annotation.Configuration;
3939
import org.springframework.context.annotation.Import;
4040
import org.springframework.validation.annotation.Validated;

spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/endpoint/web/annotation/ServletEndpointDiscovererTests.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2024 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -39,10 +39,10 @@
3939
import org.springframework.boot.actuate.endpoint.web.EndpointServlet;
4040
import org.springframework.boot.actuate.endpoint.web.ExposableServletEndpoint;
4141
import org.springframework.boot.autoconfigure.AutoConfigurations;
42-
import org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration;
4342
import org.springframework.boot.test.context.assertj.AssertableApplicationContext;
4443
import org.springframework.boot.test.context.runner.ApplicationContextRunner;
4544
import org.springframework.boot.test.context.runner.ContextConsumer;
45+
import org.springframework.boot.validation.autoconfigure.ValidationAutoConfiguration;
4646
import org.springframework.context.annotation.Configuration;
4747
import org.springframework.context.annotation.Import;
4848
import org.springframework.validation.annotation.Validated;

spring-boot-project/spring-boot-autoconfigure-all/build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ dependencies {
5151
optional(project(":spring-boot-project:spring-boot-reactor-netty"))
5252
optional(project(":spring-boot-project:spring-boot-tomcat"))
5353
optional(project(":spring-boot-project:spring-boot-tx"))
54+
optional(project(":spring-boot-project:spring-boot-validation"))
5455
optional("co.elastic.clients:elasticsearch-java") {
5556
exclude group: "commons-logging", module: "commons-logging"
5657
}

spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/data/couchbase/CouchbaseDataAutoConfiguration.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2022 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -24,7 +24,6 @@
2424
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
2525
import org.springframework.boot.autoconfigure.condition.ConditionalOnSingleCandidate;
2626
import org.springframework.boot.autoconfigure.couchbase.CouchbaseAutoConfiguration;
27-
import org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration;
2827
import org.springframework.boot.context.properties.EnableConfigurationProperties;
2928
import org.springframework.context.annotation.Bean;
3029
import org.springframework.context.annotation.Configuration;
@@ -39,7 +38,8 @@
3938
* @author Stephane Nicoll
4039
* @since 1.4.0
4140
*/
42-
@AutoConfiguration(after = { CouchbaseAutoConfiguration.class, ValidationAutoConfiguration.class })
41+
@AutoConfiguration(after = CouchbaseAutoConfiguration.class,
42+
afterName = "org.springframework.boot.validation.autoconfigure.ValidationAutoConfiguration")
4343
@ConditionalOnClass({ Bucket.class, CouchbaseRepository.class })
4444
@EnableConfigurationProperties(CouchbaseDataProperties.class)
4545
@Import({ CouchbaseDataConfiguration.class, CouchbaseClientFactoryConfiguration.class,

spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/web/reactive/WebFluxAutoConfiguration.java

+5-4
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@
3636
import org.springframework.boot.autoconfigure.task.TaskExecutionAutoConfiguration;
3737
import org.springframework.boot.autoconfigure.template.TemplateAvailabilityProviders;
3838
import org.springframework.boot.autoconfigure.thread.Threading;
39-
import org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration;
40-
import org.springframework.boot.autoconfigure.validation.ValidatorAdapter;
4139
import org.springframework.boot.autoconfigure.web.ConditionalOnEnabledResourceChain;
4240
import org.springframework.boot.autoconfigure.web.ServerProperties;
4341
import org.springframework.boot.autoconfigure.web.WebProperties;
@@ -48,6 +46,7 @@
4846
import org.springframework.boot.autoconfigure.web.reactive.WebFluxProperties.Format;
4947
import org.springframework.boot.context.properties.EnableConfigurationProperties;
5048
import org.springframework.boot.convert.ApplicationConversionService;
49+
import org.springframework.boot.validation.autoconfigure.ValidatorAdapter;
5150
import org.springframework.boot.web.codec.CodecCustomizer;
5251
import org.springframework.boot.web.reactive.filter.OrderedHiddenHttpMethodFilter;
5352
import org.springframework.context.ApplicationContext;
@@ -106,8 +105,10 @@
106105
* @author Weix Sun
107106
* @since 2.0.0
108107
*/
109-
@AutoConfiguration(after = { CodecsAutoConfiguration.class, ReactiveMultipartAutoConfiguration.class,
110-
ValidationAutoConfiguration.class, WebSessionIdResolverAutoConfiguration.class })
108+
@AutoConfiguration(
109+
after = { CodecsAutoConfiguration.class, ReactiveMultipartAutoConfiguration.class,
110+
WebSessionIdResolverAutoConfiguration.class },
111+
afterName = "org.springframework.boot.validation.autoconfigure.ValidationAutoConfiguration")
111112
@ConditionalOnWebApplication(type = ConditionalOnWebApplication.Type.REACTIVE)
112113
@ConditionalOnClass(WebFluxConfigurer.class)
113114
@ConditionalOnMissingBean({ WebFluxConfigurationSupport.class })

spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration.java

+3-4
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@
4444
import org.springframework.boot.autoconfigure.http.HttpMessageConverters;
4545
import org.springframework.boot.autoconfigure.task.TaskExecutionAutoConfiguration;
4646
import org.springframework.boot.autoconfigure.template.TemplateAvailabilityProviders;
47-
import org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration;
48-
import org.springframework.boot.autoconfigure.validation.ValidatorAdapter;
4947
import org.springframework.boot.autoconfigure.web.ConditionalOnEnabledResourceChain;
5048
import org.springframework.boot.autoconfigure.web.WebProperties;
5149
import org.springframework.boot.autoconfigure.web.WebProperties.Resources;
@@ -56,6 +54,7 @@
5654
import org.springframework.boot.autoconfigure.web.servlet.WebMvcProperties.Format;
5755
import org.springframework.boot.context.properties.EnableConfigurationProperties;
5856
import org.springframework.boot.convert.ApplicationConversionService;
57+
import org.springframework.boot.validation.autoconfigure.ValidatorAdapter;
5958
import org.springframework.boot.web.servlet.ServletRegistrationBean;
6059
import org.springframework.boot.web.servlet.filter.OrderedFormContentFilter;
6160
import org.springframework.boot.web.servlet.filter.OrderedHiddenHttpMethodFilter;
@@ -142,8 +141,8 @@
142141
* @author Scott Frederick
143142
* @since 2.0.0
144143
*/
145-
@AutoConfiguration(after = { DispatcherServletAutoConfiguration.class, TaskExecutionAutoConfiguration.class,
146-
ValidationAutoConfiguration.class })
144+
@AutoConfiguration(after = { DispatcherServletAutoConfiguration.class, TaskExecutionAutoConfiguration.class },
145+
afterName = "org.springframework.boot.validation.autoconfigure.ValidationAutoConfiguration")
147146
@ConditionalOnWebApplication(type = Type.SERVLET)
148147
@ConditionalOnClass({ Servlet.class, DispatcherServlet.class, WebMvcConfigurer.class })
149148
@ConditionalOnMissingBean(WebMvcConfigurationSupport.class)

spring-boot-project/spring-boot-autoconfigure-all/src/main/resources/META-INF/spring.factories

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ org.springframework.boot.autoconfigure.integration.IntegrationPropertiesEnvironm
44

55
# Background Preinitializers
66
org.springframework.boot.autoconfigure.preinitialize.BackgroundPreinitializer=\
7-
org.springframework.boot.autoconfigure.http.MessageConverterBackgroundPreinitializer,\
8-
org.springframework.boot.autoconfigure.validation.JakartaValidationBackgroundPreinitializer
7+
org.springframework.boot.autoconfigure.http.MessageConverterBackgroundPreinitializer
98

109
# Failure Analyzers
1110
org.springframework.boot.diagnostics.FailureAnalyzer=\

spring-boot-project/spring-boot-autoconfigure-all/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports

-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ org.springframework.boot.autoconfigure.security.oauth2.server.servlet.OAuth2Auth
9898
org.springframework.boot.autoconfigure.sendgrid.SendGridAutoConfiguration
9999
org.springframework.boot.autoconfigure.session.SessionAutoConfiguration
100100
org.springframework.boot.autoconfigure.thymeleaf.ThymeleafAutoConfiguration
101-
org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration
102101
org.springframework.boot.autoconfigure.web.client.RestClientAutoConfiguration
103102
org.springframework.boot.autoconfigure.web.client.RestTemplateAutoConfiguration
104103
org.springframework.boot.autoconfigure.web.reactive.HttpHandlerAutoConfiguration

spring-boot-project/spring-boot-autoconfigure-all/src/test/java/org/springframework/boot/autoconfigure/data/couchbase/CouchbaseDataAutoConfigurationTests.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2023 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -25,8 +25,8 @@
2525
import org.springframework.boot.autoconfigure.couchbase.CouchbaseProperties;
2626
import org.springframework.boot.autoconfigure.data.couchbase.city.City;
2727
import org.springframework.boot.autoconfigure.domain.EntityScan;
28-
import org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration;
2928
import org.springframework.boot.test.context.runner.ApplicationContextRunner;
29+
import org.springframework.boot.validation.autoconfigure.ValidationAutoConfiguration;
3030
import org.springframework.context.annotation.Bean;
3131
import org.springframework.context.annotation.Configuration;
3232
import org.springframework.context.annotation.Import;

spring-boot-project/spring-boot-autoconfigure-all/src/test/java/org/springframework/boot/autoconfigure/data/couchbase/CouchbaseReactiveDataAutoConfigurationTests.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2023 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -25,8 +25,8 @@
2525
import org.springframework.boot.autoconfigure.couchbase.CouchbaseProperties;
2626
import org.springframework.boot.autoconfigure.data.couchbase.city.City;
2727
import org.springframework.boot.autoconfigure.domain.EntityScan;
28-
import org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration;
2928
import org.springframework.boot.test.context.runner.ApplicationContextRunner;
29+
import org.springframework.boot.validation.autoconfigure.ValidationAutoConfiguration;
3030
import org.springframework.context.annotation.Bean;
3131
import org.springframework.context.annotation.Configuration;
3232
import org.springframework.context.annotation.Import;

spring-boot-project/spring-boot-autoconfigure-all/src/test/java/org/springframework/boot/autoconfigure/web/reactive/WebFluxAutoConfigurationTests.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@
4848
import org.springframework.boot.autoconfigure.AutoConfigurations;
4949
import org.springframework.boot.autoconfigure.aop.AopAutoConfiguration;
5050
import org.springframework.boot.autoconfigure.task.TaskExecutionAutoConfiguration;
51-
import org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration;
52-
import org.springframework.boot.autoconfigure.validation.ValidatorAdapter;
5351
import org.springframework.boot.autoconfigure.web.ServerProperties;
5452
import org.springframework.boot.autoconfigure.web.reactive.WebFluxAutoConfiguration.WebFluxConfig;
5553
import org.springframework.boot.autoconfigure.web.reactive.WebFluxAutoConfigurationTests.OrderedControllerAdviceBeansConfiguration.HighestOrderedControllerAdvice;
@@ -58,6 +56,8 @@
5856
import org.springframework.boot.test.context.runner.ContextConsumer;
5957
import org.springframework.boot.test.context.runner.ReactiveWebApplicationContextRunner;
6058
import org.springframework.boot.testsupport.classpath.resources.WithResource;
59+
import org.springframework.boot.validation.autoconfigure.ValidationAutoConfiguration;
60+
import org.springframework.boot.validation.autoconfigure.ValidatorAdapter;
6161
import org.springframework.boot.web.codec.CodecCustomizer;
6262
import org.springframework.boot.web.reactive.context.ReactiveWebApplicationContext;
6363
import org.springframework.boot.web.reactive.filter.OrderedHiddenHttpMethodFilter;

spring-boot-project/spring-boot-autoconfigure-all/src/test/java/org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfigurationTests.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@
4949
import org.springframework.boot.autoconfigure.http.HttpMessageConverters;
5050
import org.springframework.boot.autoconfigure.http.HttpMessageConvertersAutoConfiguration;
5151
import org.springframework.boot.autoconfigure.task.TaskExecutionAutoConfiguration;
52-
import org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration;
53-
import org.springframework.boot.autoconfigure.validation.ValidatorAdapter;
5452
import org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration.WebMvcAutoConfigurationAdapter;
5553
import org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfigurationTests.OrderedControllerAdviceBeansConfiguration.HighestOrderedControllerAdvice;
5654
import org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfigurationTests.OrderedControllerAdviceBeansConfiguration.LowestOrderedControllerAdvice;
@@ -59,6 +57,8 @@
5957
import org.springframework.boot.test.context.runner.WebApplicationContextRunner;
6058
import org.springframework.boot.testsupport.classpath.resources.WithResource;
6159
import org.springframework.boot.tomcat.servlet.TomcatServletWebServerFactory;
60+
import org.springframework.boot.validation.autoconfigure.ValidationAutoConfiguration;
61+
import org.springframework.boot.validation.autoconfigure.ValidatorAdapter;
6262
import org.springframework.boot.web.server.WebServerFactoryCustomizerBeanPostProcessor;
6363
import org.springframework.boot.web.server.servlet.MockServletWebServerFactory;
6464
import org.springframework.boot.web.server.servlet.ServletWebServerFactory;

spring-boot-project/spring-boot-dependencies/build.gradle

+2-1
Original file line numberDiff line numberDiff line change
@@ -2103,7 +2103,8 @@ bom {
21032103
"spring-boot-testcontainers",
21042104
"spring-boot-tomcat",
21052105
"spring-boot-tx",
2106-
"spring-boot-undertow"
2106+
"spring-boot-undertow",
2107+
"spring-boot-validation"
21072108
]
21082109
plugins = [
21092110
"spring-boot-maven-plugin"

spring-boot-project/spring-boot-docs/build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ dependencies {
6969
autoConfiguration(project(path: ":spring-boot-project:spring-boot-tomcat", configuration: "autoConfigurationMetadata"))
7070
autoConfiguration(project(path: ":spring-boot-project:spring-boot-tx", configuration: "autoConfigurationMetadata"))
7171
autoConfiguration(project(path: ":spring-boot-project:spring-boot-undertow", configuration: "autoConfigurationMetadata"))
72+
autoConfiguration(project(path: ":spring-boot-project:spring-boot-validation", configuration: "autoConfigurationMetadata"))
7273

7374
configurationProperties(project(path: ":spring-boot-project:spring-boot", configuration: "configurationPropertiesMetadata"))
7475
configurationProperties(project(path: ":spring-boot-project:spring-boot-activemq", configuration: "configurationPropertiesMetadata"))

spring-boot-project/spring-boot-starters/spring-boot-starter-validation/build.gradle

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@ description = "Starter for using Java Bean Validation with Hibernate Validator"
66

77
dependencies {
88
api(project(":spring-boot-project:spring-boot-starters:spring-boot-starter"))
9-
api("org.apache.tomcat.embed:tomcat-embed-el")
10-
api("org.hibernate.validator:hibernate-validator")
9+
api(project(":spring-boot-project:spring-boot-validation"))
1110
}

spring-boot-project/spring-boot-test-autoconfigure/build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ dependencies {
4141
optional(project(":spring-boot-project:spring-boot-jdbc"))
4242
optional(project(":spring-boot-project:spring-boot-jsonb"))
4343
optional(project(":spring-boot-project:spring-boot-tx"))
44+
optional(project(":spring-boot-project:spring-boot-validation"))
4445
optional("jakarta.json.bind:jakarta.json.bind-api")
4546
optional("jakarta.persistence:jakarta.persistence-api")
4647
optional("jakarta.servlet:jakarta.servlet-api")

spring-boot-project/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/graphql/AutoConfigureGraphQl.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020-2022 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -34,7 +34,7 @@
3434
* @since 2.7.0
3535
* @see GraphQlTest
3636
* @see org.springframework.boot.autoconfigure.http.codec.CodecsAutoConfiguration
37-
* @see org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration
37+
* @see org.springframework.boot.validation.autoconfigure.ValidationAutoConfiguration
3838
* @see org.springframework.boot.autoconfigure.graphql.GraphQlAutoConfiguration
3939
*/
4040
@Target(ElementType.TYPE)
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# AutoConfigureGraphQl auto-configuration imports
22
org.springframework.boot.autoconfigure.http.codec.CodecsAutoConfiguration
3-
org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration
3+
optional:org.springframework.boot.validation.autoconfigure.ValidationAutoConfiguration
44
org.springframework.boot.autoconfigure.graphql.GraphQlAutoConfiguration

spring-boot-project/spring-boot-test-autoconfigure/src/main/resources/META-INF/spring/org.springframework.boot.test.autoconfigure.web.reactive.AutoConfigureWebFlux.imports

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ org.springframework.boot.autoconfigure.freemarker.FreeMarkerAutoConfiguration
44
org.springframework.boot.autoconfigure.http.codec.CodecsAutoConfiguration
55
org.springframework.boot.autoconfigure.mustache.MustacheAutoConfiguration
66
org.springframework.boot.autoconfigure.thymeleaf.ThymeleafAutoConfiguration
7-
org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration
7+
optional:org.springframework.boot.validation.autoconfigure.ValidationAutoConfiguration
88
org.springframework.boot.autoconfigure.web.reactive.WebFluxAutoConfiguration
99
org.springframework.boot.autoconfigure.web.reactive.error.ErrorWebFluxAutoConfiguration

spring-boot-project/spring-boot-test-autoconfigure/src/main/resources/META-INF/spring/org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureWebMvc.imports

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ org.springframework.boot.autoconfigure.http.HttpMessageConvertersAutoConfigurati
88
org.springframework.boot.autoconfigure.mustache.MustacheAutoConfiguration
99
org.springframework.boot.autoconfigure.task.TaskExecutionAutoConfiguration
1010
org.springframework.boot.autoconfigure.thymeleaf.ThymeleafAutoConfiguration
11-
org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration
11+
optional:org.springframework.boot.validation.autoconfigure.ValidationAutoConfiguration
1212
org.springframework.boot.autoconfigure.web.servlet.error.ErrorMvcAutoConfiguration
1313
org.springframework.boot.autoconfigure.web.servlet.HttpEncodingAutoConfiguration
1414
org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration

0 commit comments

Comments
 (0)