2014-11-14 54 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