NoClassDefFoundError with "psiMethod"
Answered
I was trying to use the "psi demo example" in github in my plugin
It compiles, ok but when executing I have :
2020-07-24 18:08:16,338 [ 11440] ERROR - llij.ide.plugins.PluginManager - com/intellij/psi/PsiMethod
java.lang.NoClassDefFoundError: com/intellij/psi/PsiMethod
I'm using Intellij ultimate 2020.1 (Build #IU-201.8743.12)
Any clues ?
Please sign in to leave a comment.
This usually happens when the plugin is compiled against a different IntelliJ Platform version than it’s running on. Even if it builds, make sure your runtime IDEA SDK matches 2020.1 and your plugin config is aligned. Also happens to me when I juggle too many jigsaw 300 puzzles at once—everything seems fine until you actually try to run it 😄