Spring Boot Jpa Kotlin - Not a Managed
I am getting the following error attempting to run my kotlin spring boot application.
Caused by: java.lang.IllegalArgumentException: Not a managed type: class zielinskin.kotlinsample.data.SampleEntity
Trying to create a least possible code example repo with kotlin on the latest spring boot and kotlin, but am struggling. I am using OpenJDK 18.
I have tried with and without enable repositories annotation, Int and Integer for id, multiple types of entity scans (and without), but nothing seems...