Re: Could not locate

2021-01-05 Thread 'Alan Forrester' via Clojure
On 5 Jan 2021, at 10:50, Yang Xu wrote: > I am begin with clojure, when I invoke clojure from java. The "Could not > locate cljcore/core__init.class, cljcore/core.clj or cljcore/core.cljc on > classpath" is arised. > > (defproject cljcore "0.1.0-SNAPSHOT" > :description "FIXME: write descripti

Re: Could not locate clojure/tools/namespace/find__init.class or clojure/tools/namespace/find.clj on classpath.

2017-03-04 Thread Gregg Reynolds
On Mar 4, 2017 4:34 PM, "Alex Miller" wrote: > Welcome to Clojure. If you want to play with the language, building it is > about the last thing you want to do. > Actually, it's quite fun to add debugging to parts of Clojure and use that modified version and I think it's nice that it is so easy

Re: Could not locate clojure/tools/namespace/find__init.class or clojure/tools/namespace/find.clj on classpath.

2017-03-04 Thread Alex Miller
> > > Welcome to Clojure. If you want to play with the language, building it is > about the last thing you want to do. > Actually, it's quite fun to add debugging to parts of Clojure and use that modified version and I think it's nice that it is so easy to hack on if you like. -- You recei

Re: Could not locate clojure/tools/namespace/find__init.class or clojure/tools/namespace/find.clj on classpath.

2017-03-04 Thread Alex Miller
On Saturday, March 4, 2017 at 1:53:58 PM UTC-6, Andy Fingerhut wrote: > > The clojure-1.8.0.zip file should also contain a pre-built JAR file named > clojure-1.8.0.jar, if you want to just use that and run with it. > Most people obtain the jar by using a build tool that downloads the pre-built

Re: Could not locate clojure/tools/namespace/find__init.class or clojure/tools/namespace/find.clj on classpath.

2017-03-04 Thread Gregg Reynolds
On Mar 4, 2017 1:43 PM, "Steve Murphy" wrote: Hello-- Heard interesting things about clojure, thought I'd play with it, so I downloaded the clojure-1.8.0 zip file, exploded it, and tried to build it with ant... all this on my ubuntu 16.04 workstation. Welcome to Clojure. If you want to play wi

Re: Could not locate clojure/tools/namespace/find__init.class or clojure/tools/namespace/find.clj on classpath.

2017-03-04 Thread Andy Fingerhut
The clojure-1.8.0.zip file should also contain a pre-built JAR file named clojure-1.8.0.jar, if you want to just use that and run with it. I do not know if it is intentional or a mistake that some of the files necessary to build are not included in that zip file. It may be intentional, with the i

Re: Could not locate ring/adapter/jetty__init.class or ring/adapter/jetty.clj on classpath although it's there

2015-10-22 Thread Timur
Ok this time, it works for sure. The problem was because of transitivie dependencies. Thanks and regards, Timur On Thursday, October 22, 2015 at 12:17:07 PM UTC+2, Colin Yates wrote: > > Maybe a sample project might help? > > On 22 Oct 2015, at 10:49, Timur > wrote: > > > Nope false positive

Re: Could not locate ring/adapter/jetty__init.class or ring/adapter/jetty.clj on classpath although it's there

2015-10-22 Thread Colin Yates
Maybe a sample project might help? > On 22 Oct 2015, at 10:49, Timur wrote: > > > Nope false positive, it did not work :( > > On Thursday, October 22, 2015 at 11:40:08 AM UTC+2, Timur wrote: > > Okay that resolved the issue project B was providing some communication > functionality and did no

Re: Could not locate ring/adapter/jetty__init.class or ring/adapter/jetty.clj on classpath although it's there

2015-10-22 Thread Timur
Nope false positive, it did not work :( On Thursday, October 22, 2015 at 11:40:08 AM UTC+2, Timur wrote: > > > Okay that resolved the issue project B was providing some communication > functionality and did not declare any explicit dependeny on jetty-adapter. > After defining it worked. > > Th

Re: Could not locate ring/adapter/jetty__init.class or ring/adapter/jetty.clj on classpath although it's there

2015-10-22 Thread Timur
Okay that resolved the issue project B was providing some communication functionality and did not declare any explicit dependeny on jetty-adapter. After defining it worked. Thanks for the tip!! On Thursday, October 22, 2015 at 11:26:52 AM UTC+2, Colin Yates wrote: > > Not sure why that isn’t

Re: Could not locate ring/adapter/jetty__init.class or ring/adapter/jetty.clj on classpath although it's there

2015-10-22 Thread Colin Yates
Not sure why that isn’t working but it is highly recommended not to depend on transitive dependencies. If you need a lib for :compile scope (rather than :provided) then you should (must?) declare that; projectC should depend directly on ring-jetty-adapter in this case. > On 22 Oct 2015, at 10:2

Re: Could not locate clojure/data/json__init.class or clojure/data/json.clj on classpath

2012-10-25 Thread larry google groups
>Why don't you have clojure.data.json in your dependencies in >project.clj? That seems like a problem to me. Ah, hell. Looks like I accidentally erased that line. Thanks for pointing that out. svn diff -r r3166:3250 project.clj Index: project.clj =

Re: Could not locate clojure/data/json__init.class or clojure/data/json.clj on classpath

2012-10-25 Thread Dave Ray
Why don't you have clojure.data.json in your dependencies in project.clj? That seems like a problem to me. Dave On Thu, Oct 25, 2012 at 10:01 AM, larry google groups wrote: > I asked this previously but I thought I would start a new thread to go into > more detail. This is driving me crazy. I wa

Re: Could not locate clojure/data/json__init.class or clojure/data/json.clj on classpath

2012-10-25 Thread Mayank Jain
To clean do $ lein clean Sent from phone. Please excuse brevity. On Oct 25, 2012 10:36 PM, "Jim foo.bar" wrote: > On 25/10/12 18:01, larry google groups wrote: > >> (:require clojure.string clojure.java.io who-is-logged-in.memory_** >> display >> [clojure.data.json :as json]) >> > >

Re: Could not locate clojure/data/json__init.class or clojure/data/json.clj on classpath

2012-10-25 Thread Jim foo.bar
On 25/10/12 18:01, larry google groups wrote: (:require clojure.string clojure.java.io who-is-logged-in.memory_display [clojure.data.json :as json]) I don't like this line... try: (:require [clojure.string :as st] [clojure.java.io :as io] [clojure.data.json

Re: Could not locate clojure/contrib/string__init.class or clojure/contrib/string.clj on classpath:

2012-06-24 Thread Moritz Ulrich
Try clojure.string: http://clojuredocs.org/clojure_core/clojure.string It's available in 1.3 and replaces clojure.contrib.string. You can also access all methods of java.lang.String via java interop. On Mon, Jun 25, 2012 at 12:12 AM, עומר כהן wrote: > I'm trying to use contrib.string and i'm cu

Re: Could not locate clojure/contrib/duck_streams__init.class or clojure/contrib/duck_streams.clj

2012-04-26 Thread Dave Sann
lein-eclipse works great for me. The problem is that "duck-streams" is part of the old consolidated clojure contrib. Which you can still get - but haven't referenced as a dependency. try adding [org.clojure/clojure-contrib "1.2.0"] to your dependencies. But be aware that this is all deprecat

Re: Could not locate clojure/contrib/duck_streams__init.class or clojure/contrib/duck_streams.clj

2012-04-26 Thread Alex Ott
lein-eclipse was released 2 years ago... I think, that now it's better to work via pom.xml - generate it with 'lein pom' and import into eclipse On Wed, Apr 25, 2012 at 2:55 PM, Chirag Ghiyad wrote: > hi, > > I have created one lein project, > than updating its project.clj with dev-dependency of