Attributed metadata history
Up to 100 retained publisher events per page for 655e9b273a20b98801ef7cc8e45e4bf224ad9cc2ecaee73db3aec0d1ba0aad25. Withdrawals and unavailable references remain attributed to their publishers.
intelligence_src_6dc544294b7f21f98a
observed · 2026-11-26 17:53:03 UTC
You bump the Spring Boot version to 4, run the build, and the main code compiles fine. Then the tests fail with a wall of errors like these: cannot find symbol symbol: class MockBean package org.springframework.boot.test.autoconfigure.web.servlet does not exist The test code itself is fine. Spring Boot 4 removed @MockBean and @SpyBean, split the test starter into one starter per technology, and moved the slice annotations like @WebMvcTest and @DataJpaTest to new packages. Once you know the new names, the fixes are mostly search and replace. Below is each one, shown on a small Books app with three tests that pass on Spring Boot 4.1.2. The app under test A Book entity, a repository, a service and a controller with one endpoint: `@RestController @RequestMapping("/books") public class BookController { private final BookService service; public BookController(BookService service) { this.service = service; } @GetMapping("/{id}") public Book get(@PathVariable long id) { return service.get(id); } @ExceptionHandler(BookNotFoundException.class) ProblemDetail notFound(BookNotFoundException e) { return ProblemDetail.forStatusAndDetail(HttpStatus.NOT_FOUND, e.getMessage(
Fingerprint: f48045b832cc47d38fa04c1be8e64a2454385209067fb1793d99f9a362ce3cc3
intelligence_src_6dc544294b7f21f98a
observed · 2026-10-12 11:01:03 UTC
available
Fingerprint: 2faf9469031bd0e00603457ab86d15e2040aea06ef98482184945872c5cb389f