Replaced spring.factories with META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports
This was a Spring 2 to Spring 3 change
Make sure the case of the file is exact.
Then put the ns path to the configuration in the file.
The purpose of this project is to determine why a Spring Bean located in a different but local Module cannot be found.
This project requires a SpringBoot @RestController project with the following test method.
@RestController
class StreamController {
@GetMapping(value = ["/stocks/{symbol}"],
produces = [MediaType.TEXT_EVENT_STREAM_VALUE])
Flux<StockPrice> prices(@PathVariable("symbol") String symbol) {
Flux.interval(Duration.ofSeconds(1))
.map {
new StockPrice(symbol, randomStockPrice(), LocalDateTime.now())
}
}
}- Java 21
- JavaFX 21
Other project dependencies (Groovy, Gradle) should download automatically.