我收到以下错误,试图运行我的kotlin spring引导应用程序。Caused by: java.lang.IllegalArgumentException: Not a managed type: class zielinskin.kotlinsample.data.SampleEntity试图在最近的春季启动和kotlin上创建一个最少可能的代码示例repo与kotlin,但是还在挣扎。我使用的是OpenJDK 18。
我尝试过
我想通过这个库在Kotlin中使用Realm。我已经在app.gradle中添加了mavenCentral()存储库和compile "com.github.vicpinm:krealmextensions:1.2.0"。当我运行我的应用程序时,我得到了这个错误:java.lang.IllegalArgumentException: Feature is not part of the schema for this Realmadded realm
GROUP BY task_idtask_id | avgRating | reviewsCount但是,当从服务中使用存储库时, kotlin.Double?(com.example.tasks.TaskReviewService.RatingSummaryWithTaskId with arguments 1,null,null)
我的猜测是,存储库本身使用
问题:在从预先填充的H2数据库中读取用户详细信息时,我在使用BeanPropertyRowMapper时遇到了问题。映射程序无法初始化用户实例,因为它不能使用数据类的默认构造器。数据类:仓库:错误:
Caused by: java.lang.IllegalArgumentException: No argument provided for a requiredparameter: parameter #0 id of fun <init>(k
> Could not find org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable:1.2.60.Searched in the following locations: file:/Users/<user-name>/.gradle/caches/4.10/embedded-kotlin-repo-1.2.60-2/repo/org/jetbrains/<e
我得到了这个错误
java.lang.IllegalArgumentException: Parameter specified as non-null is null: method kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull这段代码最初是用java编写的,我使用Android将其转换为Kotlin,但现在我得到了这个错误。我试着重建和清理这个项目,但没有成功。