Skip to content

NoClassDefFoundError: kotlin/enums/EnumEntriesKt #183

Answered by ForteScarlet
HFYGitHub asked this question in Q&A
Discussion options

You must be logged in to vote

增加一个 properties:

<kotlin.version>1.9.21<kotlin.version>

或者手动添加此版本的 Kotlin 依赖,或者更新spring boot到更新的版本,比如3.x。这是因为较低的spring版本内的 Kotlin 版本信息拉低了整个项目的 Kotlin 版本,kotlin/enums/EnumEntriesKt 我印象中应该是 Kotlin 1.8.x 的内容,不过用 1.9.x 问题也不大

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@HFYGitHub
Comment options

Answer selected by HFYGitHub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
组件:mirai 与mirai组件有关的内容
2 participants