SOLVED
Hi, I am facing an issue when trying to compile a JavaFX project with Exposed. When using DSL APIs everything works well.
But when I try to create entity for my rows and then call it like below:
Copy code
object OperatorsTable : IdTable<String>("operators") {
override val id: Column<EntityID<String>> = varchar(name = "id", length = 14).entityId().uniqueIndex()
val name = varchar("name", length = 50)
......
}
class OperatorEntity(id: EntityID<String>) : StringEntity(id) {
companion object : StringEntityClass<OperatorEntity>(OperatorsTable)
var name by OperatorsTable.name
....
}
// Get all
val usersList = transaction {
OperatorEntity.all().toList()
}
I get this error:
java.lang.IllegalStateException: Resource not found in classpath: kotlin/kotlin.kotlin_builtins
Exposed Version: 0.39.2
PostgresDriver: 42.5.0
Kotlin: 1.7.10
Any idea why this is happening ?