Sync Gradle Project issue

Answered

Cause: class org.jetbrains.plugins.gradle.tooling.serialization.internal.adapter.InternalIdeaModule cannot be cast to class org.gradle.tooling.model.ProjectModel (org.jetbrains.plugins.gradle.tooling.serialization.internal.adapter.InternalIdeaModule is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @6af5bf2d; org.gradle.tooling.model.ProjectModel is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @ed762f4)

I get this error message after I run Sync Gradle project. Is it about the project config issues?

I don't know how you're going to reproduce this error. I just can't sync the gradle project….. I updated the IDE, invalidated cache. And still getting the error.

0
1 comment

This looks like a known issue IDEA-386409 which has been already fixed. The fix is included with IntelliJ IDEA 2026.1.1. Please go to Help | Check for Updates… to make sure that your IDE and plugins are up to date. If the issue persists, please collect the full IDE logs bundle in Help | Collect Logs and Diagnostic Data and upload them using our Upload Service.

0

Please sign in to leave a comment.