问题
The selected wizard could not be started. Failed to create injector for com.github.jknack.antlr4ide.Antlr4 ExtensionFactory: com.github.jknack.antlr4ide.ui.Antlr4ExecutableExtensionFactory Failed to create injector for com.github.jknack.antlr4ide.Antlr4
How do I solve this problem?
回答1:
I have solved the problem by installing xtext 2.7.3:
- Download
- In Eclipse > Help > Install New Software...
- Add... > Archive > Select downloaded .zip file
- Check Xtext from the list > Continue installing
- Restart eclipse
*Instructions found here also.
回答2:
I am using Eclipse Mars but this works well with Luna version also.
Make sure that you have Xtext 2.7.3 installed.
You can check this by going to Help->Installation Details. Check if you have any other version of Xtext installed. If yes, then please uninstall that.
Go to Help->Install New Software , put http://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases/ in the Work With textbox and hit enter. It will take some time fetching from the server. Click Next, accept license/agreement and then Finish. Your Xtext 2.7.3 is installed.
If still your project is not running you can follow this answer. Trouble Setting Up ANTLR 4 IDE on Eclipse Luna (4.4)
回答3:
Installed the specific 2.7.3 Xtext version using the downloaded zip and it corrected the issue for me running neon on my mac os x El Capitan
来源:https://stackoverflow.com/questions/31983829/the-selected-wizard-could-not-be-started-in-eclipse-for-anltr-4-how-to-solve