Kotlin Plugin Incompatibility on Ultimate IDE — Can’t Build Simple Spring Boot + Kotlin App

已回答

The IDE is reporting that the Kotlin plugin is incompatible with my IDE version, and I’m unable to get things working — even after syncing Gradle, updating the Kotlin plugin, and confirming my Kotlin and JDK versions match what’s supported.


org.jetbrains.kotlin.utils.exceptions.KotlinIllegalArgumentExceptionWithAttachments: Error while resolving org.jetbrains.kotlin.fir.declarations.impl.FirRegularClassImpl 
from RAW_FIR to BODY_RESOLVE
current declaration phase ANNOTATION_ARGUMENTS
origin: Source
session: class org.jetbrains.kotlin.analysis.low.level.api.fir.sessions.LLFirSourcesSession
module data: class org.jetbrains.kotlin.analysis.low.level.api.fir.projectStructure.LLFirModuleData
KaModule: class org.jetbrains.kotlin.idea.base.projectStructure.KtSourceModuleByModuleInfo
platform: JVM (21)


I’d appreciate any guidance on resolving this. It’s a bit frustrating to hit this kind of blocker when using a premium toolset, makes me want to back to my happy place in VS code with typescript, if there is a core Kotlin plugin IDE version issue issue why just show me an error fix it for me or tell me what to do, i am on the latest version and the error keeps popping up every time i click on a class and i know there is a lot of software in a great product but help me plese. The Kotlin integration is really not stable, and i looked in the plugin market place did not see a newer version, disabled it, that broke things restarted it told me to re-enable, is anyone else having this kind of issue? Maybe i'm the problem, project structure i have tried a mix of JDK's Any help would be appreciated, no going back to Eclipse, VS Code is not great for Java, this is all i got! 
 

 

0
Can you please attach logs (after encountering the problem -> Help | Collect Logs and Data), steps to reproduce(or video), and the zip project?  
You can upload files to https://uploads.jetbrains.com and share the ID here; it's private.
0
As a temporary solution, you can try to switch to K1 mode jetbrains://idea/settings?name=Languages+%26+Frameworks--Kotlin
0

请先登录再写评论。