Skip to content

求助大大,为什么我升级版本一直报错呢 #44

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

You must be logged in to vote

这个问题只需要在 plugins 添加kotlin.jvm 就能解决

plugins {
    id 'org.springframework.boot' version '2.7.11'
    id 'io.spring.dependency-management' version '1.0.15.RELEASE'
    id 'java'
    id 'org.jetbrains.kotlin.jvm' version '1.8.21' // 确保添加 Kotlin

}

Replies: 5 comments 3 replies

Comment options

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

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

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

Comment options

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

Answer selected by ForteScarlet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants