spring-projects-experimental / spring-fu

Configuration DSLs for Spring Boot
Apache License 2.0
1.67k stars 139 forks source link

Spring Kofu 0.5.0 issue with Spring Native #386

Closed Kotlin-GDE closed 2 years ago

Kotlin-GDE commented 2 years ago

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 2 years ago

Spring Native is not compatible for Spring Fu for now.