1

我正在尝试让 vimclojure 继续运行,如果我做错了什么,我将不胜感激。当我尝试在我的一个 lein 项目中读取 project.clj 时出现错误:

; Use \p to close this buffer!

Could not determine the Namespace of the file.

This might have different reasons. Please check, that the ng server
is running with the correct classpath and that the file does not contain
syntax errors. The interactive features will not be enabled, ie. the
keybindings will not be mapped.

Reason:
Error executing Nail! (230)
connect: Connection refused

以下是 ~/.vimrc 中的相关行

filetype off
call pathogen#runtime_append_all_bundles()
filetype plugin indent on
let g:vimclojure#HighlightBuiltins = 1
let g:vimclojure#ParenRainbow = 1
let vimclojure#NailgunClient = "/home/cnorton/bin/ng"
let vimclojure#WantNailgun = 1
:helptags ~/.vim/bundle/VimClojure/doc/

并且 nailgun 在 CLASSPATH 中

export CLASSPATH=/usr/share/java:/home/cnorton/bin:$CLASSPATH
export VIMCLOJURE_SERVER_JAR="$HOME/bin/server-2.3.0.jar"

我错过了什么和/或我做错了什么?谢谢你。

4

1 回答 1

2
connect: Connection refused

你没有启动服务器。或错误配置了服务器地址/端口。

于 2012-07-20T05:55:49.153 回答