Spring Kofu 0.5.0 issue with Spring Native
Kotlin-GDE opened this issue · 1 comments
Kotlin-GDE commented
hi
spring kofu 0.5.0 , spring boot 2.6.2, java 17, spring native 0.11.1, when execute
val app = reactiveWebApplication {
webFlux {
port = 9999
}
}
fun main() {
app.run()
}
Description:
The ApplicationContext could not start as 'org.springframework.aot.StaticSpringFactories' that is generated by the Spring AOT plugin could not be found.
Action:
Review your local configuration and make sure that the Spring AOT plugin is configured properly.
If you're trying to run your application with 'mvn spring-boot:run', please use 'mvn package spring-boot:run' instead.
See https://docs.spring.io/spring-native/docs/current/reference/htmlsingle/#spring-aot for more details.
sdeleuze commented
Spring Native is not compatible for Spring Fu for now.