Re: Dependency problem when running `line ring server`

39 views
Skip to first unread message

JR Heard

unread,
Apr 30, 2013, 4:50:32 PM4/30/13
to comp...@googlegroups.com
hi ell,

the message says that this could be due to a typo in your project.clj file's :dependencies vector. could you pastebin us your project.clj file?

-JR


On Sun, Apr 21, 2013 at 5:18 AM, ell <eugiel...@gmail.com> wrote:
Hi,

I'm diving into learning compojure to build a REST service. I followed  the Getting Started page of compojure but when I try to run `lein ring server`, I get the following error messages:

Could not transfer artifact org.apache.commons:commons-parent:pom:22 from/to central (http://repo1.maven.org/maven2/): Checksum validation failed, expected 0e895fa7ed472b3b2081ef77e2d5ece78c139d54 but is fc560e64cf55eeee2c612dd924714b1689c1199e
Could not transfer artifact org.apache.commons:commons-parent:pom:22 from/to central (http://repo1.maven.org/maven2/): Checksum validation failed, expected 0e895fa7ed472b3b2081ef77e2d5ece78c139d54 but is fc560e64cf55eeee2c612dd924714b1689c1199e
Could not transfer artifact org.apache.commons:commons-parent:pom:7 from/to central (http://repo1.maven.org/maven2/): Checksum validation failed, expected 95db361d9db1474346b2bde93e5402281909144c but is c736ca2b1e6d5323eb90283c1bd7f29bc67f0ce4
This could be due to a typo in :dependencies or network issues.

I've tried using `lein clean` but that didn't help (is it supposed to?). I have no experience with maven and leiningen, actually. Can someone help me with this? I've tried searching to no avail (or maybe my keywords are wrong).

Regards.

--
You received this message because you are subscribed to the Google Groups "Compojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email to compojure+...@googlegroups.com.
To post to this group, send email to comp...@googlegroups.com.
Visit this group at http://groups.google.com/group/compojure?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
jrheard
programmer

Nelson Morris

unread,
Apr 30, 2013, 10:13:41 PM4/30/13
to comp...@googlegroups.com
On Sun, Apr 21, 2013 at 7:18 AM, ell <eugiel...@gmail.com> wrote:
Hi,

I'm diving into learning compojure to build a REST service. I followed  the Getting Started page of compojure but when I try to run `lein ring server`, I get the following error messages:

Could not transfer artifact org.apache.commons:commons-parent:pom:22 from/to central (http://repo1.maven.org/maven2/): Checksum validation failed, expected 0e895fa7ed472b3b2081ef77e2d5ece78c139d54 but is fc560e64cf55eeee2c612dd924714b1689c1199e
Could not transfer artifact org.apache.commons:commons-parent:pom:22 from/to central (http://repo1.maven.org/maven2/): Checksum validation failed, expected 0e895fa7ed472b3b2081ef77e2d5ece78c139d54 but is fc560e64cf55eeee2c612dd924714b1689c1199e
Could not transfer artifact org.apache.commons:commons-parent:pom:7 from/to central (http://repo1.maven.org/maven2/): Checksum validation failed, expected 95db361d9db1474346b2bde93e5402281909144c but is c736ca2b1e6d5323eb90283c1bd7f29bc67f0ce4
This could be due to a typo in :dependencies or network issues.

I've tried using `lein clean` but that didn't help (is it supposed to?). I have no experience with maven and leiningen, actually. Can someone help me with this? I've tried searching to no avail (or maybe my keywords are wrong).

This usually shows up when you have a corrupted download.  It looks to me like the .sha1 files are correct, but the pom was probably corrupted. You can `rm ~/.m2/repository/org.apache.commons/commons-parent/22/*.pom` and `rm ~/.m2/repository/org.apache.commons/commons-parent/7/*.pom` to redownload the pom files.

-
Nelson Morris
Reply all
Reply to author
Forward
0 new messages