Tag: spring data

在Kotlin中使用@ EnableNeo4jRepositories(basePackageClasses =“myApp”)

我已经添加了以下注释: @EnableNeo4jRepositories(basePackages = "myApp") 在Java中工作正常,但Kotlin编译器给出: (40, 51): Type mismatch: inferred type is kotlin.String but kotlin.Array<kotlin.reflect.KClass<*>> was expected