The selected wizard could not be started in eclipse for Anltr 4 .How to solve?

人盡茶涼 提交于 2019-12-23 10:49:13

问题


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:

  1. Download
  2. In Eclipse > Help > Install New Software...
  3. Add... > Archive > Select downloaded .zip file
  4. Check Xtext from the list > Continue installing
  5. 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.

  1. 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.

  2. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!