Questions tagged [spring-boot-2.6.0]

8 questions
66
votes
8 answers

Springfox 3.0.0 is not working with Spring Boot 2.6.0

Springfox 3.0.0 is not working with Spring Boot 2.6.0, after upgrading I am getting the following error org.springframework.context.ApplicationContextException: Failed to start bean 'documentationPluginsBootstrapper'; nested exception is…
Thirumal
  • 8,280
  • 11
  • 53
  • 103
3
votes
2 answers

Spring Boot migration to 2.5/2.6 from 2.1 - Issue with SQL Script DataSource Initialization order

I'm migrating my existing Spring Boot 2.1.x application to 2.6.x. I want the following behavior (for integration tests which uses embedded H2 database), which is working fine in 2.1.x (obviously) but I'm struggling to achieve the same behavior in…
3
votes
1 answer

In spring-boot 2.6.2 Could not initialize Logback logging from classpath:logback-spring.groovy

I migrated my spring boot app for spring-boot 2.5.6 to spring-boot 2.6.2, but since then the start up tells java.lang.IllegalStateException: Could not initialize Logback logging from classpath:logback-spring.groovyCaused by:…
Nidhin Dev
  • 499
  • 5
  • 9
2
votes
1 answer

getting Spring Boot [2.7.0] is not compatible with this Spring Cloud release train error

I am new to spring. I was trying to upgrade spring boot version from 2.3.3.RELEASE to 2.6.7 in existing spring batch project. Project build completed successfully but I am getting bellow error when I run batch. Please…
2
votes
1 answer

Unsatisfied dependency expressed through field 'mockMvc' - Junit 5

I wanted to write a feature test for my spring boot application that will run end-to end like from controller to repository. For this same error I tried following the below solutions but it did not work and was giving the same…
user2632905
  • 237
  • 2
  • 3
  • 12
1
vote
0 answers

1 errorsField error in object 'pageRequest' on field 'sort': rejected value [asc,id];

2022-01-06 16:18:27 [http-nio-48080-exec-6] WARN o.s.w.s.m.s.DefaultHandlerExceptionResolver - Resolved [org.springframework.validation.BindException: org.springframework.validation.BeanPropertyBindingResult: 1 errorsField error in object…
0
votes
1 answer

springboot2.6: defer-initialization-mode set to true: data.sql is not initialized

I am upgrading my springboot from 2.2 to 2.6. As part of this upgrade, when I am testing JUNITs using inMemory H2 database, all tests started failing with missing data despite having data.sql. I reviewed spring docs and made following changes in my…
Sasi
  • 29
  • 3
-1
votes
2 answers

If both application.yml and bootstrap.yml exist, who will overwrite whom with the same attributes?

I tried locally that the application will be covered, but when I checked online, many people said that the bootstrap would not be covered by the bootstrap, so I was very confused. Is it because of different versions?
Larry
  • 21
  • 6