无法在Play 2.3项目上运行

时间:2014-11-14 15:54:13

标签: scala emacs playframework ensime

我是Emacs的新手。

我已使用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被添加到路径中,当我在Lisp-Interaction窗口中键入ensime-sbt-commandC-j时,它显示SBT路径。

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

Emacs版本为24,随后版本为20141101.910。

1 个答案:

答案 0 :(得分:0)

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

More info