码迷,mamicode.com
首页 > 系统相关 > 详细

初步解决leiningen配置到Eclipse中出错的问题

时间:2014-12-23 00:04:30      阅读:221      评论:0      收藏:0      [点我收藏+]

标签:

首先在网上搜到了一个国外网站的同样问题的解决方案:

http://stackoverflow.com/questions/21886271/exception-when-launching-new-project-with-lein-new

  • Are you using lein 2.3.x+? if not try lein upgrade
  • Are you running lein repl in the proper directory?
  • does lein deps succeed in downloading everything it needs?
  • does lein version work (ie: is leiningen completely broken) if it does not work, delete ~/.lein and run it again.

发现自己的leiningen版本是2.0.0,于是去官网的releases里面找到了最新的2.5然后下载:https://github.com/technomancy/leiningen/releases

然后找到leiningen通过Eclipse的run里面的External tool来配置的解决方法:http://blog.csdn.net/xiejianming/article/details/6950630

不过我在配置Location与Working directory时用的是绝对地址,还有在配置Arguments的时候一定要写成“new ${project_name}”,不然会报之前的那个错误。

目前run之后会有如下提示:

Generating a project called jim-cloud-server based on the ‘default‘ template.
The default template is intended for library projects, not applications.
To see other templates (app, plugin, etc), try `lein help new`.

这个应该不是配置问题了,所以leiningen配置到Eclipse的问题初步解决了。

初步解决leiningen配置到Eclipse中出错的问题

标签:

原文地址:http://www.cnblogs.com/seemann/p/4179148.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!