MultipleArtifactsNotFoundException artifact missing error
Hello all, I am using eclipse IDE on windows 7 for developing clojure project with leiningen plugin. I think i have properly installed and configured java, lein and mvn commands. == D:\Chirag\workspace\process_itmvn -version Apache Maven 3.0.3 (r1075438; 2011-02-28 23:01:09+0530) Maven home: C:\apache-maven-3.0.3 Java version: 1.7.0_01, vendor: Oracle Corporation Java home: C:\Program Files\Java\jdk1.7.0_01\jre Default locale: en_US, platform encoding: Cp1252 OS name: windows 7, version: 6.1, arch: x86, family: windows == D:\Chirag\workspace\process_itlein version Leiningen 1.7.1 on Java 1.7.0_01 Java HotSpot(TM) Client VM == But still when i want to download all dependencies(via lein deps command) its giving artifact missing error as given below my project.clj file is at last. Can anybody give some detailed solution for this?? D:\Chirag\workspace\process_itlein run Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl- utils-1.3.0-alpha4.pom from repository clojars at http://clojars.org/repo/ Unable to locate resource in repository [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:pom: 1.3.0-alpha4' in repository clojars (http://clojars.org/repo/) Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl- utils-1.3.0-alpha4.pom from repository central at http://repo1.maven.org/maven2 Unable to locate resource in repository [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:pom: 1.3.0-alpha4' in repository central (http://repo1.maven.org/maven2) Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl- utils-1.3.0-alpha4.pom from repository java.net at http://download.java.net/maven/2 Unable to locate resource in repository [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:pom: 1.3.0-alpha4' in repository java.net (http://download.java.net/maven/ 2) Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl- utils-1.3.0-alpha4.jar from repository clojars at http://clojars.org/repo/ Unable to locate resource in repository [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:jar: 1.3.0-alpha4' in repository clojars (http://clojars.org/repo/) Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl- utils-1.3.0-alpha4.jar from repository central at http://repo1.maven.org/maven2 Unable to locate resource in repository [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:jar: 1.3.0-alpha4' in repository central (http://repo1.maven.org/maven2) Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl- utils-1.3.0-alpha4.jar from repository java.net at http://download.java.net/maven/2 Unable to locate resource in repository [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:jar: 1.3.0-alpha4' in repository java.net (http://download.java.net/maven/ 2) An error has occurred while processing the Maven artifact tasks. Diagnosis: Unable to resolve artifact: Missing: -- 1) org.clojure.contrib:repl-utils:jar:1.3.0-alpha4 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.clojure.contrib - DartifactId=repl-utils -Dversion=1.3.0-alpha4 -Dpackaging=jar -Dfile=/ path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.clojure.contrib - DartifactId=repl-utils -Dversion=1.3.0-alpha4 -Dpackaging=jar -Dfile=/ path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.maven:super-pom:pom:2.0 2) com.draines:postal:jar:1.7.1 3) org.clojure.contrib:repl-utils:jar:1.3.0-alpha4 -- 1 required artifact is missing. for artifact: org.apache.maven:super-pom:pom:2.0 from the specified remote repositories: central (http://repo1.maven.org/maven2), clojars (http://clojars.org/repo/) Exception in thread main Unable to resolve artifact: Missing: -- 1) org.clojure.contrib:repl-utils:jar:1.3.0-alpha4 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.clojure.contrib - DartifactId=repl-utils -Dversion=1.3.0-alpha4 -Dpackaging=jar -Dfile=/ path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.clojure.contrib - DartifactId=repl-utils -Dversion=1.3.0-alpha4 -Dpackaging=jar -Dfile=/ path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.maven:super-pom:pom:2.0 2) com.draines:postal:jar:1.7.1 3) org.clojure.contrib:repl-utils:jar:1.3.0-alpha4 -- 1 required artifact is missing. for artifact:
Re: MultipleArtifactsNotFoundException artifact missing error
You are talking about [org.clojure/clojure-contrib 1.2.0] this. right?? and in replacement of that i have to include newer [org.clojure/ clojure-contrib 1.3-compat]. right?? On May 31, 5:17 pm, Softaddicts lprefonta...@softaddicts.ca wrote: Since clojure 1.3, contrib as been replaced by distinct libraries: http://dev.clojure.org/display/design/Where+Did+Clojure.Contrib+Go You should be using them. No idea where the referenced lib you specify in your project comes from. I did not find it using maven central search or in clojars. Using the new one is your safest bet. Luc Hello all, I am using eclipse IDE on windows 7 for developing clojure project with leiningen plugin. I think i have properly installed and configured java, lein and mvn commands. == D:\Chirag\workspace\process_itmvn -version Apache Maven 3.0.3 (r1075438; 2011-02-28 23:01:09+0530) Maven home: C:\apache-maven-3.0.3 Java version: 1.7.0_01, vendor: Oracle Corporation Java home: C:\Program Files\Java\jdk1.7.0_01\jre Default locale: en_US, platform encoding: Cp1252 OS name: windows 7, version: 6.1, arch: x86, family: windows == D:\Chirag\workspace\process_itlein version Leiningen 1.7.1 on Java 1.7.0_01 Java HotSpot(TM) Client VM == But still when i want to download all dependencies(via lein deps command) its giving artifact missing error as given below my project.clj file is at last. Can anybody give some detailed solution for this?? === = D:\Chirag\workspace\process_itlein run Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl- utils-1.3.0-alpha4.pom from repository clojars athttp://clojars.org/repo/ Unable to locate resource in repository [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:pom: 1.3.0-alpha4' in repository clojars (http://clojars.org/repo/) Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl- utils-1.3.0-alpha4.pom from repository central athttp://repo1.maven.org/maven2 Unable to locate resource in repository [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:pom: 1.3.0-alpha4' in repository central (http://repo1.maven.org/maven2) Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl- utils-1.3.0-alpha4.pom from repository java.net athttp://download.java.net/maven/2 Unable to locate resource in repository [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:pom: 1.3.0-alpha4' in repository java.net (http://download.java.net/maven/ 2) Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl- utils-1.3.0-alpha4.jar from repository clojars athttp://clojars.org/repo/ Unable to locate resource in repository [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:jar: 1.3.0-alpha4' in repository clojars (http://clojars.org/repo/) Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl- utils-1.3.0-alpha4.jar from repository central athttp://repo1.maven.org/maven2 Unable to locate resource in repository [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:jar: 1.3.0-alpha4' in repository central (http://repo1.maven.org/maven2) Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl- utils-1.3.0-alpha4.jar from repository java.net athttp://download.java.net/maven/2 Unable to locate resource in repository [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:jar: 1.3.0-alpha4' in repository java.net (http://download.java.net/maven/ 2) An error has occurred while processing the Maven artifact tasks. Diagnosis: Unable to resolve artifact: Missing: -- 1) org.clojure.contrib:repl-utils:jar:1.3.0-alpha4 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.clojure.contrib - DartifactId=repl-utils -Dversion=1.3.0-alpha4 -Dpackaging=jar -Dfile=/ path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.clojure.contrib - DartifactId=repl-utils -Dversion=1.3.0-alpha4 -Dpackaging=jar -Dfile=/ path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.maven:super-pom:pom:2.0 2) com.draines:postal:jar:1.7.1 3) org.clojure.contrib:repl-utils:jar:1.3.0-alpha4 -- 1 required artifact is missing. for artifact: org.apache.maven:super-pom:pom:2.0 from the specified remote repositories: central (http://repo1.maven.org/maven2), clojars (http://clojars.org/repo/) Exception in thread main Unable to resolve artifact: Missing: -- 1)
Re: MultipleArtifactsNotFoundException artifact missing error
@Softaddicts : I tried [org.clojure/clojure-contrib 1.2.0] and this one [org.clojure.contrib/generic 1.3.0-alpha4] too, but it still gives same error. And i am new to clojure so can you elaborate for individual libs with example syntax?? On May 31, 6:41 pm, Softaddicts lprefonta...@softaddicts.ca wrote: Either this new compatible contrib or the individual libs officially supported. I would suggest using the standalone libs when available in lieu of the 13 monolithic compatible lib one. Luc You are talking about [org.clojure/clojure-contrib 1.2.0] this. right?? and in replacement of that i have to include newer [org.clojure/ clojure-contrib 1.3-compat]. right?? On May 31, 5:17 pm, Softaddicts lprefonta...@softaddicts.ca wrote: Since clojure 1.3, contrib as been replaced by distinct libraries: http://dev.clojure.org/display/design/Where+Did+Clojure.Contrib+Go You should be using them. No idea where the referenced lib you specify in your project comes from. I did not find it using maven central search or in clojars. Using the new one is your safest bet. Luc Hello all, I am using eclipse IDE on windows 7 for developing clojure project with leiningen plugin. I think i have properly installed and configured java, lein and mvn commands. == D:\Chirag\workspace\process_itmvn -version Apache Maven 3.0.3 (r1075438; 2011-02-28 23:01:09+0530) Maven home: C:\apache-maven-3.0.3 Java version: 1.7.0_01, vendor: Oracle Corporation Java home: C:\Program Files\Java\jdk1.7.0_01\jre Default locale: en_US, platform encoding: Cp1252 OS name: windows 7, version: 6.1, arch: x86, family: windows == D:\Chirag\workspace\process_itlein version Leiningen 1.7.1 on Java 1.7.0_01 Java HotSpot(TM) Client VM == But still when i want to download all dependencies(via lein deps command) its giving artifact missing error as given below my project.clj file is at last. Can anybody give some detailed solution for this?? === = D:\Chirag\workspace\process_itlein run Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl- utils-1.3.0-alpha4.pom from repository clojars athttp://clojars.org/repo/ Unable to locate resource in repository [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:pom: 1.3.0-alpha4' in repository clojars (http://clojars.org/repo/) Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl- utils-1.3.0-alpha4.pom from repository central athttp://repo1.mavenorg/maven2 Unable to locate resource in repository [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:pom: 1.3.0-alpha4' in repository central (http://repo1.maven.org/maven2) Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl- utils-1.3.0-alpha4.pom from repository java.net athttp://download.java.net/maven/2 Unable to locate resource in repository [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:pom: 1.3.0-alpha4' in repository java.net (http://download.java.net/maven/ 2) Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl- utils-1.3.0-alpha4.jar from repository clojars athttp://clojars.org/repo/ Unable to locate resource in repository [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:jar: 1.3.0-alpha4' in repository clojars (http://clojars.org/repo/) Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl- utils-1.3.0-alpha4.jar from repository central athttp://repo1.mavenorg/maven2 Unable to locate resource in repository [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:jar: 1.3.0-alpha4' in repository central (http://repo1.maven.org/maven2) Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl- utils-1.3.0-alpha4.jar from repository java.net athttp://download.java.net/maven/2 Unable to locate resource in repository [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:jar: 1.3.0-alpha4' in repository java.net (http://download.java.net/maven/ 2) An error has occurred while processing the Maven artifact tasks. Diagnosis: Unable to resolve artifact: Missing: -- 1) org.clojure.contrib:repl-utils:jar:1.3.0-alpha4 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.clojure.contrib - DartifactId=repl-utils -Dversion=1.3.0-alpha4 -Dpackaging=jar -Dfile=/ path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn
Re: MultipleArtifactsNotFoundException artifact missing error
Thank you so much for your sincere interest, but i found that [com.draines/postal 1.7.1] was creating mess at downloading. so there is no issue of clojure-contrib. now my project is working properly. On May 31, 7:46 pm, Softaddicts lprefonta...@softaddicts.ca wrote: repl-util has been moved to clojure.repl. No need to define another dependency in this case. Just require clojure.repl in your code. The API is here: http://clojure.github.com/clojure/clojure.repl-api.html If you need other components from the old contrib, look at the url I mentioned in my previous email. If you have other deps problems, please post your project.clj, at least the dependencies part of it. Luc @Softaddicts : I tried [org.clojure/clojure-contrib 1.2.0] and this one [org.clojure.contrib/generic 1.3.0-alpha4] too, but it still gives same error. And i am new to clojure so can you elaborate for individual libs with example syntax?? On May 31, 6:41 pm, Softaddicts lprefonta...@softaddicts.ca wrote: Either this new compatible contrib or the individual libs officially supported. I would suggest using the standalone libs when available in lieu of the 13 monolithic compatible lib one. Luc You are talking about [org.clojure/clojure-contrib 1.2.0] this. right?? and in replacement of that i have to include newer [org.clojure/ clojure-contrib 1.3-compat]. right?? On May 31, 5:17 pm, Softaddicts lprefonta...@softaddicts.ca wrote: Since clojure 1.3, contrib as been replaced by distinct libraries: http://dev.clojure.org/display/design/Where+Did+Clojure.Contrib+Go You should be using them. No idea where the referenced lib you specify in your project comes from. I did not find it using maven central search or in clojars. Using the new one is your safest bet. Luc Hello all, I am using eclipse IDE on windows 7 for developing clojure project with leiningen plugin. I think i have properly installed and configured java, lein and mvn commands. == D:\Chirag\workspace\process_itmvn -version Apache Maven 3.0.3 (r1075438; 2011-02-28 23:01:09+0530) Maven home: C:\apache-maven-3.0.3 Java version: 1.7.0_01, vendor: Oracle Corporation Java home: C:\Program Files\Java\jdk1.7.0_01\jre Default locale: en_US, platform encoding: Cp1252 OS name: windows 7, version: 6.1, arch: x86, family: windows == D:\Chirag\workspace\process_itlein version Leiningen 1.7.1 on Java 1.7.0_01 Java HotSpot(TM) Client VM == But still when i want to download all dependencies(via lein deps command) its giving artifact missing error as given below my project.clj file is at last. Can anybody give some detailed solution for this?? === = D:\Chirag\workspace\process_itlein run Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl- utils-1.3.0-alpha4.pom from repository clojars athttp://clojarsorg/repo/ Unable to locate resource in repository [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:pom: 1.3.0-alpha4' in repository clojars (http://clojars.org/repo/) Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl- utils-1.3.0-alpha4.pom from repository central athttp://repo1.mavenorg/maven2 Unable to locate resource in repository [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:pom: 1.3.0-alpha4' in repository central (http://repo1.maven.org/maven2) Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl- utils-1.3.0-alpha4.pom from repository java.net athttp://download.java.net/maven/2 Unable to locate resource in repository [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:pom: 1.3.0-alpha4' in repository java.net (http://download.java.net/maven/ 2) Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl- utils-1.3.0-alpha4.jar from repository clojars athttp://clojarsorg/repo/ Unable to locate resource in repository [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:jar: 1.3.0-alpha4' in repository clojars (http://clojars.org/repo/) Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl- utils-1.3.0-alpha4.jar from repository central athttp://repo1.mavenorg/maven2 Unable to locate resource in repository [INFO] Unable to find resource 'org.clojure.contrib:repl-utils:jar: 1.3.0-alpha4' in repository central (http://repo1.maven.org/maven2) Downloading: org/clojure/contrib/repl-utils/1.3.0-alpha4/repl-
Could not locate clojure/contrib/duck_streams__init.class or clojure/contrib/duck_streams.clj
hi, I have created one lein project, than updating its project.clj with dev-dependency of eclips I ran lein deps it downloaded all dependencies but into my.m2/repository directory there is no clojure directory. and this causes me leiningen.eclipse Problem loading: java.io.FileNotFoundException: Could not locate clojure/contrib/duck_streams__init.class or clojure/ contrib/duck_streams.clj on classpath: (eclipse.clj:1) error when i ran lein help which abandons me to develop with eclipse because i cant run my lein eclipse command. Any solution for this??? Thanks in advance. my project.clj is given below (defproject for_test 1.0.0-SNAPSHOT :description FIXME: write description :dependencies [[org.clojure/clojure 1.2.1]] :dev-dependencies [[lein-eclipse 1.0.0]] ) Thnks 'n Regards, chirag ghiyad -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en