Glad it's not me who keeps hitting this :0
"lein new app hello" seems to be more helpful for setting you up as I'd expect,
just need to wait for my fingers to learn to type it now.
On 14 November 2012 21:44, Marek Šrank wrote:
> Yep, leiningen now doesn't create -main function in the default tem
Yep, leiningen now doesn't create -main function in the default template
Marek.
On Wednesday, November 14, 2012 8:40:20 PM UTC+1, Alec Ramsay wrote:
>
> My bad: I did not have (defn -main[] (...)) defined.
>
>
> On Wednesday, November 14, 2012 7:42:20 AM UTC-8, Alec Ramsay wrote:
>>
>> Thanks
My bad: I did not have (defn -main[] (...)) defined.
On Wednesday, November 14, 2012 7:42:20 AM UTC-8, Alec Ramsay wrote:
>
> Thanks everyone for the feedback. To rule out any hyphen / underscore
> issues, I created a new project "hello". Got the same exception:
>
> Exception in thread "main" ja
Thanks everyone for the feedback. To rule out any hyphen / underscore
issues, I created a new project "hello". Got the same exception:
Exception in thread "main" java.lang.ClassNotFoundException: hello.core
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessControlle
On Tue, Nov 13, 2012 at 4:11 PM, Alec Ramsay wrote:
> But while "lein new" still works, "lein run" does not. I get the following
> exception:
How did you create that project? lein new http_hello3 - or - lein new
http-hello3?
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corf
Am 14.11.2012 01:30 schrieb "Marek Šrank" :
>
> I also had the same issue some time ago and it was caused by incorrect
using of dash ('-') vs. underscore ('_') in project/namespace name... I
don't remember what concretely was wrong, but you at least can try all
possibilities
That might well be
I also had the same issue some time ago and it was caused by incorrect
using of dash ('-') vs. underscore ('_') in project/namespace name... I
don't remember what concretely was wrong, but you at least can try all
possibilities
Also, are you using gen-class ?
Marek.
On Wednesday, November
When I do "lein run" now, I get "Exception in thread "main"
java.lang.ClassNotFoundException:".
I'm early in the process of getting a Clojure development environment set
up--I coded a lot of LISP years ago and want to dust off my skills with
Clojure--and I have previously successfully done the