File tree Expand file tree Collapse file tree
src/main/java/software/xdev/sse/demo
webapp-vaadin/src/main/java/software/xdev/sse/demo
web-sidecar-common/src/main/java/software/xdev/sse/web/sidecar
web/src/main/java/software/xdev/sse/web/cookie/auto Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 </dependency >
2020
2121 <!-- Spring -->
22+ <dependency >
23+ <groupId >org.springframework.boot</groupId >
24+ <artifactId >spring-boot-starter-flyway</artifactId >
25+ </dependency >
26+
2227 <dependency >
2328 <groupId >org.springframework.boot</groupId >
2429 <artifactId >spring-boot-starter-logging</artifactId >
Original file line number Diff line number Diff line change 66import java .util .function .Function ;
77import java .util .stream .Collectors ;
88
9- import org .springframework .boot .autoconfigure .domain . EntityScan ;
10- import org .springframework .boot .autoconfigure .orm . jpa . HibernatePropertiesCustomizer ;
9+ import org .springframework .boot .hibernate . autoconfigure .HibernatePropertiesCustomizer ;
10+ import org .springframework .boot .persistence . autoconfigure .EntityScan ;
1111import org .springframework .context .annotation .Configuration ;
1212import org .springframework .transaction .annotation .EnableTransactionManagement ;
1313
Original file line number Diff line number Diff line change 11package software .xdev .sse .demo .init ;
22
33import org .flywaydb .core .api .configuration .FluentConfiguration ;
4- import org .springframework .boot .autoconfigure . flyway .FlywayConfigurationCustomizer ;
4+ import org .springframework .boot .flyway . autoconfigure .FlywayConfigurationCustomizer ;
55import org .springframework .stereotype .Component ;
66
77import software .xdev .sse .demo .persistence .FlywayInfo ;
Original file line number Diff line number Diff line change 55import java .util .stream .Stream ;
66
77import org .springframework .boot .SpringApplication ;
8- import org .springframework .boot .autoconfigure .EnableAutoConfiguration ;
98import org .springframework .boot .autoconfigure .SpringBootApplication ;
10- import org .springframework .boot .autoconfigure . web . servlet .error .ErrorMvcAutoConfiguration ;
9+ import org .springframework .boot .webmvc . autoconfigure .error .ErrorMvcAutoConfiguration ;
1110import org .springframework .scheduling .annotation .EnableAsync ;
1211import org .springframework .scheduling .annotation .EnableScheduling ;
1312
1413import com .vaadin .flow .spring .annotation .EnableVaadin ;
1514
1615
1716@ SuppressWarnings ({"checkstyle:HideUtilityClassConstructor" , "PMD.UseUtilityClass" })
18- @ SpringBootApplication
17+ @ SpringBootApplication ( exclude = { ErrorMvcAutoConfiguration . class })
1918@ EnableScheduling
2019@ EnableAsync
2120@ EnableVaadin ("software.xdev.sse.demo.ui" )
22- @ EnableAutoConfiguration (exclude = {ErrorMvcAutoConfiguration .class })
2321public class Application
2422{
2523 @ SuppressWarnings ("PMD.AvoidSystemSetterCall" )
Original file line number Diff line number Diff line change 2222import org .springframework .boot .autoconfigure .AutoConfigureBefore ;
2323import org .springframework .boot .autoconfigure .condition .ConditionalOnMissingBean ;
2424import org .springframework .boot .autoconfigure .condition .ConditionalOnProperty ;
25- import org .springframework .boot .web .server .ErrorPageRegistry ;
25+ import org .springframework .boot .web .error .ErrorPageRegistry ;
2626import org .springframework .context .annotation .Bean ;
2727
2828import software .xdev .sse .web .sidecar .OtherWebSecurityPaths ;
Original file line number Diff line number Diff line change 2323
2424import org .slf4j .Logger ;
2525import org .slf4j .LoggerFactory ;
26+ import org .springframework .boot .web .error .ErrorPage ;
27+ import org .springframework .boot .web .error .ErrorPageRegistry ;
2628import org .springframework .boot .web .server .AbstractConfigurableWebServerFactory ;
27- import org .springframework .boot .web .server .ErrorPage ;
28- import org .springframework .boot .web .server .ErrorPageRegistry ;
2929
3030import software .xdev .sse .web .sidecar .public_stateless .PublicStatelessPathsProvider ;
3131
Original file line number Diff line number Diff line change 1919import org .springframework .boot .autoconfigure .AutoConfiguration ;
2020import org .springframework .boot .autoconfigure .condition .ConditionalOnMissingBean ;
2121import org .springframework .boot .autoconfigure .condition .ConditionalOnProperty ;
22- import org .springframework .boot .web .servlet . server .CookieSameSiteSupplier ;
22+ import org .springframework .boot .web .server . servlet .CookieSameSiteSupplier ;
2323import org .springframework .context .annotation .Bean ;
2424
2525import software .xdev .sse .web .cookie .CookieSecureService ;
You can’t perform that action at this time.
0 commit comments