librelist archives

« back to archive

Windows problem installing Leiningen

Windows problem installing Leiningen

From:
Brian Marick
Date:
2012-09-01 @ 19:37
Another reader writes in yesterday about a Windows install of Leiningen. 
Any advice for him?

On Aug 31, 2012, at 7:04 AM, Ondrej Beluský wrote:

> Hi, 
> 
> I am getting this error when trying to start repl. I tried it on windows
cmd as well as in cygwin. Same error occurs.
> 
> $ lein repl
> Retrieving 
commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar Retrieving

(59k)com/fasterxml/jackson/dataformat/jackson-dataformat-smile/2.0.0/jackson-dataformat-smile-2.0.0.jar
(50k)
> 
>         fromfrom  http://repo1.maven.org/maven2/http://repo1.maven.org/maven2/
> 
> Could not transfer artifact commons-logging:commons-logging:jar:1.1.1 
from/to central (http://repo1.maven.org/maven2): GET request of: 
commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar from 
central failedCould not transfer artifact 
com.fasterxml.jackson.dataformat:jackson-dataformat-smile:jar:2.0.0 
from/to central (http://repo1.maven.org/maven2): GET request of: 
com/fasterxml/jackson/dataformat/jackson-dataformat-smile/2.0.0/jackson-dataformat-smile-2.0.0.jar
from central failed
> 
> Could not find artifact 
com.fasterxml.jackson.dataformat:jackson-dataformat-smile:jar:2.0.0 in 
clojars (https://clojars.org/repo/)Could not find artifact 
commons-logging:commons-logging:jar:1.1.1 in clojars 
(https://clojars.org/repo/)
> 
> Could not find artifact commons-logging:commons-logging:jar:1.1.1 in 
sona (http://oss.sonatype.org/content/repositories/snapshots)
> Check :dependencies and :repositories for typos.
> It's possible the specified jar is not in any repository.
> If so, see "Free-floating Jars" under http://j.mp/repeatability
> Exception in thread "Thread-1" clojure.lang.ExceptionInfo: Could not 
resolve dependencies {:exit-code 1}
>         at clojure.core$ex_info.invoke(core.clj:4227)
>         at leiningen.core.classpath$get_dependencies.doInvoke(classpath.clj:128)
>         at clojure.lang.RestFn.invoke(RestFn.java:425)
>         at clojure.lang.AFn.applyToHelper(AFn.java:163)
>         at clojure.lang.RestFn.applyTo(RestFn.java:132)
>         at clojure.core$apply.invoke(core.clj:605)
>         at 
leiningen.core.classpath$resolve_dependencies.doInvoke(classpath.clj:144)
>         at clojure.lang.RestFn.invoke(RestFn.java:425)
>         at leiningen.core.eval$prep.invoke(eval.clj:60)
>         at leiningen.core.eval$eval_in_project.invoke(eval.clj:220)
>         at leiningen.repl$start_server.doInvoke(repl.clj:65)
>         at clojure.lang.RestFn.invoke(RestFn.java:470)
>         at leiningen.repl$repl$fn__1788.invoke(repl.clj:145)
>         at clojure.lang.AFn.applyToHelper(AFn.java:159)
>         at clojure.lang.AFn.applyTo(AFn.java:151)
>         at clojure.core$apply.invoke(core.clj:601)
>         at clojure.core$with_bindings_STAR_.doInvoke(core.clj:1771)
>         at clojure.lang.RestFn.invoke(RestFn.java:425)
>         at clojure.lang.AFn.applyToHelper(AFn.java:163)
>         at clojure.lang.RestFn.applyTo(RestFn.java:132)
>         at clojure.core$apply.invoke(core.clj:605)
>         at clojure.core$bound_fn_STAR_$fn__3984.doInvoke(core.clj:1793)
>         at clojure.lang.RestFn.invoke(RestFn.java:397)
>         at clojure.lang.AFn.run(AFn.java:24)
>         at java.lang.Thread.run(Unknown Source)
> 
-----
Brian Marick, Artisanal Labrador
Contract programming in Ruby and Clojure
Occasional consulting on Agile
Writing /Functional Programming for the Object-Oriented Programmer/: 
https://leanpub.com/fp-oo

Re: [leiningen] Windows problem installing Leiningen

From:
Laurent Petit
Date:
2012-09-01 @ 20:36
Probably OT, but who knows: there's a good story for Leiningen (2) in
any OS with the integrated support in Counterclockwise (at least for
dependency management and project bootstrapping).


2012/9/1 Brian Marick <marick@exampler.com>:
> Another reader writes in yesterday about a Windows install of Leiningen.
Any advice for him?
>
> On Aug 31, 2012, at 7:04 AM, Ondrej Beluský wrote:
>
>> Hi,
>>
>> I am getting this error when trying to start repl. I tried it on 
windows cmd as well as in cygwin. Same error occurs.
>>
>> $ lein repl
>> Retrieving 
commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar Retrieving

(59k)com/fasterxml/jackson/dataformat/jackson-dataformat-smile/2.0.0/jackson-dataformat-smile-2.0.0.jar
(50k)
>>
>>         fromfrom  http://repo1.maven.org/maven2/http://repo1.maven.org/maven2/
>>
>> Could not transfer artifact commons-logging:commons-logging:jar:1.1.1 
from/to central (http://repo1.maven.org/maven2): GET request of: 
commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar from 
central failedCould not transfer artifact 
com.fasterxml.jackson.dataformat:jackson-dataformat-smile:jar:2.0.0 
from/to central (http://repo1.maven.org/maven2): GET request of: 
com/fasterxml/jackson/dataformat/jackson-dataformat-smile/2.0.0/jackson-dataformat-smile-2.0.0.jar
from central failed
>>
>> Could not find artifact 
com.fasterxml.jackson.dataformat:jackson-dataformat-smile:jar:2.0.0 in 
clojars (https://clojars.org/repo/)Could not find artifact 
commons-logging:commons-logging:jar:1.1.1 in clojars 
(https://clojars.org/repo/)
>>
>> Could not find artifact commons-logging:commons-logging:jar:1.1.1 in 
sona (http://oss.sonatype.org/content/repositories/snapshots)
>> Check :dependencies and :repositories for typos.
>> It's possible the specified jar is not in any repository.
>> If so, see "Free-floating Jars" under http://j.mp/repeatability
>> Exception in thread "Thread-1" clojure.lang.ExceptionInfo: Could not 
resolve dependencies {:exit-code 1}
>>         at clojure.core$ex_info.invoke(core.clj:4227)
>>         at 
leiningen.core.classpath$get_dependencies.doInvoke(classpath.clj:128)
>>         at clojure.lang.RestFn.invoke(RestFn.java:425)
>>         at clojure.lang.AFn.applyToHelper(AFn.java:163)
>>         at clojure.lang.RestFn.applyTo(RestFn.java:132)
>>         at clojure.core$apply.invoke(core.clj:605)
>>         at 
leiningen.core.classpath$resolve_dependencies.doInvoke(classpath.clj:144)
>>         at clojure.lang.RestFn.invoke(RestFn.java:425)
>>         at leiningen.core.eval$prep.invoke(eval.clj:60)
>>         at leiningen.core.eval$eval_in_project.invoke(eval.clj:220)
>>         at leiningen.repl$start_server.doInvoke(repl.clj:65)
>>         at clojure.lang.RestFn.invoke(RestFn.java:470)
>>         at leiningen.repl$repl$fn__1788.invoke(repl.clj:145)
>>         at clojure.lang.AFn.applyToHelper(AFn.java:159)
>>         at clojure.lang.AFn.applyTo(AFn.java:151)
>>         at clojure.core$apply.invoke(core.clj:601)
>>         at clojure.core$with_bindings_STAR_.doInvoke(core.clj:1771)
>>         at clojure.lang.RestFn.invoke(RestFn.java:425)
>>         at clojure.lang.AFn.applyToHelper(AFn.java:163)
>>         at clojure.lang.RestFn.applyTo(RestFn.java:132)
>>         at clojure.core$apply.invoke(core.clj:605)
>>         at clojure.core$bound_fn_STAR_$fn__3984.doInvoke(core.clj:1793)
>>         at clojure.lang.RestFn.invoke(RestFn.java:397)
>>         at clojure.lang.AFn.run(AFn.java:24)
>>         at java.lang.Thread.run(Unknown Source)
>>
> -----
> Brian Marick, Artisanal Labrador
> Contract programming in Ruby and Clojure
> Occasional consulting on Agile
> Writing /Functional Programming for the Object-Oriented Programmer/: 
https://leanpub.com/fp-oo
>
>