2014-11-14 43 views
1

我是Emacs的新手。无法在Play 2.3项目上运行ensime

我已经使用M-x package-install安装了ensime,然后是ensime

通过执行在Emacs ensime命令,并给予项目路径(这gen-ensime是在其执行)我得到以下错误:

Debugger entered--Lisp error: (error "check that sbt is on your PATH and that your config is compatible with http://github.com/ensime/ensime-server/wiki/Example-Configuration-File [(wrong-type-argument stringp nil)]") 
    signal(error ("check that sbt is on your PATH and that your config is compatible with http://github.com/ensime/ensime-server/wiki/Example-Configuration-File [(wrong-type-argument stringp nil)]")) 
    error("check that sbt is on your PATH and that your config is compatible with http://github.com/ensime/ensime-server/wiki/Example-Configuration-File [(wrong-type-argument stringp nil)]") 
    (condition-case ex (ensime--1) ((quote error) (error (format "check that sbt is on your PATH and that your config is compatible with %s [%s]" "http://github.com/ensime/ensime-server/wiki/Example-Configuration-File" ex)))) 
    ensime() 
    call-interactively(ensime record nil) 
    command-execute(ensime record) 
    execute-extended-command(nil "ensime") 
    call-interactively(execute-extended-command nil nil) 

SBT 0.13.6添加到路径,当我键入ensime-sbt-commandC-j在Lisp-Interaction窗口中显示SBT路径。

我的项目SBT版本是0.13.5,Scala 2.11.1,Play 2.3.3,ensime-sbt 0.1.5-SNAPSHOT。

Emacs版本是24,ensime版本是20141101.910。

+0

您是否找到了解决方案?我正在努力解决同样的问题! – 2014-11-19 09:45:27

回答

0

不幸的是我给了文件夹路径而不是.ensime文件路径。这是解决的问题。

More info

相关问题