Блог пользователя LightYagami674

Автор LightYagami674, история, 4 года назад, По-английски

Just downloaded and installed CHelper v4.4.2 (Windows 10) and got this error:

java.lang.IncompatibleClassChangeError: Method 'com.intellij.openapi.roots.libraries.LibraryTable com.intellij.openapi.roots.impl.libraries.ProjectLibraryTable.getInstance(com.intellij.openapi.project.Project)' must be InterfaceMethodref constant

So, does anyone know the solution to this or has experienced this before?

  • Проголосовать: нравится
  • -13
  • Проголосовать: не нравится

»
4 года назад, # |
  Проголосовать: нравится +10 Проголосовать: не нравится

Got the same error in IDEA 2020.2.1 with 11.0.8 JDK. Fixed for me by running IDEA with old JDK (1.8.0_40) using IDEA_JDK env variable and idea.bat from IDEA "bin" directory. Enough to run once like this, it was a problem with project generation at first start.

Egor, look at this please? FixLibrary doesn't work on new IDEA. Something like JetBrains changed their api for libraries and new JDKs check binary compatibility more strictly.

Full stacktrace