Reputation: 144
I've installed the ANTLR4 plugin for Intellij, but cannot work with grammar files.
Upon the IDE start I immediately get:
NoClassDefFoundError:
org.antlr.intellij.plugin.ANTLRv4PluginController@109bb62:
org/antlr/v4/runtime/tree/gui/TreeViewer
Then, when I double click on a grammar file I get:
NoClassDefFoundError: org/antlr/v4/runtime/Lexer
Seems like IDE does not know where to pick the ANTLR jar file.
My project does have a dependency on antlr-4.5-complete.jar
.
Are there some addition configuration steps I need to perform in order to let the IDE know where to look for the proper jar?
Upvotes: 3
Views: 2605
Reputation: 5962
Hooray! Ok, so then the answer to this question is to ask intellij to install the plug-in. Or you can download intellij-plugin-v4.zip, but don't unzip it.
Upvotes: 4