<dependencies>
<dependency>
<groupId>org.clojure</groupId>
<artifactId>clojure</artifactId>
<version>1.8.0</version>
</dependency>
<dependency>
<groupId>org.clojure</groupId>
<artifactId>tools.nrepl</artifactId>
<version>0.2.12</version>
</dependency>
</dependencies>
public static void main(String[] args){
IFn require = Clojure.var("clojure.core", "require");
require.invoke(Clojure.read("clojure.tools.nrepl.server"));
IFn server = Clojure.var("clojure.tools.nrepl.server","start-server");
server.invoke(Clojure.read(":port"), Clojure.read("8083"));
}
lein repl :connect localhost:8083