Requirements
Spring Data 支持 Kotlin 1.3,需要 kotlin-stdlib
(或其某个变体,例如 kotlin-stdlib-jdk8
)和 kotlin-reflect
位于类路径中。如果你通过 start.spring.io 引导 Kotlin 项目,则默认情况下会提供这些变体。
Spring Data supports Kotlin 1.3 and requires kotlin-stdlib
(or one of its variants, such as kotlin-stdlib-jdk8
) and kotlin-reflect
to be present on the classpath.
Those are provided by default if you bootstrap a Kotlin project via start.spring.io.