我无法获得:
Java命令在eclim中工作.当我运行它时,我得到:
java.lang.RuntimeException: required setting 'org.eclim.java.run.mainclass' has not been set. at org.eclim.plugin.jdt.command.src.JavaCommand.execute(JavaCommand.java:107) at org.eclim.command.Main.main(Main.java:89) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.martiansoftware.nailgun.NGSession.run(NGSession.java:334)
似乎有很多解释如何解决这个问题,例如在SO或here上发布this帖子,但他们都说通过“设置项目的org.eclim.java.run.mainclass属性”来实现:ProjectSettings.我的问题是我将它设置为什么?无论我在尝试编写更改时放置什么,vim都说“操作包含错误.有关详细信息,请参阅位置列表.”