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

Could not locate

2021-01-05 Thread Yang Xu
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 description" :url "http:/

Re: Plain clojure 1.9 fails with Could not locate ... clojure/spec/alpha.clj on classpath. in Kubuntu 18.04

2018-05-21 Thread Jesús Gómez
>>>>> > >>>>> > 1. Use the new command line clj tools (linux install instructions on >>>>> that >>>>> > page) - this will fetch the deps for you. >>>>> > 2. Do a local build into a single standalone jar (note thi

Re: Plain clojure 1.9 fails with Could not locate ... clojure/spec/alpha.clj on classpath. in Kubuntu 18.04

2018-05-21 Thread Andy Fingerhut
ally and build your own custom >>> > classpath. (not recommended) >>> > >>> > >>> > On Monday, May 21, 2018 at 11:17:37 AM UTC-5, Jesús Gómez wrote: >>> >> >>> >> Simply: 1.7 works but 1.9 not. >>> >> >>

Re: Plain clojure 1.9 fails with Could not locate ... clojure/spec/alpha.clj on classpath. in Kubuntu 18.04

2018-05-21 Thread Peter Hull
On Monday, 21 May 2018 20:22:21 UTC+1, Andy Fingerhut wrote: > > Is there some other command you would recommend to force reinstall of > ca-certs that might work? > > Specifically on the ca-certs thing, there is a bug filed with Ubuntu, and it looks like it should be fixed fairly soon;

Re: Plain clojure 1.9 fails with Could not locate ... clojure/spec/alpha.clj on classpath. in Kubuntu 18.04

2018-05-21 Thread Justin Smith
) >> > >> > >> > On Monday, May 21, 2018 at 11:17:37 AM UTC-5, Jesús Gómez wrote: >> >> >> >> Simply: 1.7 works but 1.9 not. >> >> >> >> Test: >> >> >> >> $ # Download Clojure 1.7, 1.8 and 1.9 jars &g

Re: Plain clojure 1.9 fails with Could not locate ... clojure/spec/alpha.clj on classpath. in Kubuntu 18.04

2018-05-21 Thread Andy Fingerhut
ly: 1.7 works but 1.9 not. > >> > >> Test: > >> > >> $ # Download Clojure 1.7, 1.8 and 1.9 jars > >> $ seq 7 9 | xargs -L1 -I% wget > >> http://repo1.maven.org/maven2/org/clojure/clojure/1.%.0/ > clojure-1.%.0.jar > >> $ seq 7 9 | xarg

Re: Plain clojure 1.9 fails with Could not locate ... clojure/spec/alpha.clj on classpath. in Kubuntu 18.04

2018-05-21 Thread Andy Fingerhut
(not recommended) >> > >> > >> > On Monday, May 21, 2018 at 11:17:37 AM UTC-5, Jesús Gómez wrote: >> >> >> >> Simply: 1.7 works but 1.9 not. >> >> >> >> Test: >> >> >> >> $ # Download Clojure

Re: Plain clojure 1.9 fails with Could not locate ... clojure/spec/alpha.clj on classpath. in Kubuntu 18.04

2018-05-21 Thread Justin Smith
Download Clojure 1.7, 1.8 and 1.9 jars > >> $ seq 7 9 | xargs -L1 -I% wget > >> > http://repo1.maven.org/maven2/org/clojure/clojure/1.%.0/clojure-1.%.0.jar > >> $ seq 7 9 | xargs -L1 -I% java -jar clojure-1.%.0.jar -e '"1.%.0 is > >> Working"' > >&

Re: Plain clojure 1.9 fails with Could not locate ... clojure/spec/alpha.clj on classpath. in Kubuntu 18.04

2018-05-21 Thread Jesús Gómez
Working"' >> "1.7.0 is Working" >> "1.8.0 is Working" >> Exception in thread "main" java.lang.ExceptionInInitializerError >> ... >> Caused by: java.io.FileNotFoundException: Could not locate >> clojure/spec/alpha__init.class o

Re: Plain clojure 1.9 fails with Could not locate ... clojure/spec/alpha.clj on classpath. in Kubuntu 18.04

2018-05-21 Thread Alex Miller
in thread "main" java.lang.ExceptionInInitializerError > ... > Caused by: java.io.FileNotFoundException: Could not locate > clojure/spec/alpha__init.class or clojure/spec/alpha.clj on classpath. > ... > > I've been trying to learn Clojure, so I've installed it in many ways: > &

Re: Plain clojure 1.9 fails with Could not locate ... clojure/spec/alpha.clj on classpath. in Kubuntu 18.04

2018-05-21 Thread John Mastro
jure-1.%.0.jar -e '"1.%.0 is Working"' > "1.7.0 is Working" > "1.8.0 is Working" > Exception in thread "main" java.lang.ExceptionInInitializerError > ... > Caused by: java.io.FileNotFoundException: Could not locate clojure/spec/alpha__init.clas

Plain clojure 1.9 fails with Could not locate ... clojure/spec/alpha.clj on classpath. in Kubuntu 18.04

2018-05-21 Thread Jesús Gómez
Working" "1.8.0 is Working" Exception in thread "main" java.lang.ExceptionInInitializerError ... Caused by: java.io.FileNotFoundException: Could not locate clojure/spec/alpha__init.class or clojure/spec/alpha.clj on classpath. ... I've been trying to learn Clojure, so

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

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

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

2017-03-04 Thread Alex Miller
.8.0/target/test-classes >> [javac] warning: [options] bootstrap class path not set in >> conjunction with -source 1.6 >> [javac] 1 warning >> [echo] Direct linking = true >> [java] Compiling clojure.test-clojure.protocols.examples to >> /hom

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.

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

2017-03-04 Thread Andy Fingerhut
0/target/test-classes > [java] Compiling clojure.test-clojure.genclass.examples to > /home/murf/Downloads/clojure-1.8.0/target/test-classes > [java] Compiling clojure.test-clojure.compilation.load-ns to > /home/murf/Downloads/clojure-1.8.0/target/test-classes > [java] C

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

2017-03-04 Thread Steve Murphy
] Compiling clojure.test-clojure.annotations to /home/murf/Downloads/clojure-1.8.0/target/test-classes test-example: [java] Exception in thread "main" java.io.FileNotFoundException: Could not locate clojure/tools/namespace/find__init.class or clojure/tools/namespace/find.clj on

Re: Why would I get this: FileNotFoundException: Could not locate raynes/fs__init.class

2016-12-13 Thread larry google groups
Thank you. That must have been a copy-and-paste error. Funny thing is that I looked at it a half-dozen times and asked myself if I'd copied something wrong. On Tuesday, December 13, 2016 at 12:28:16 PM UTC-5, Toby Crawley wrote: > > On Tue, Dec 13, 2016 at 12:20 PM, larry google groups >

Re: Why would I get this: FileNotFoundException: Could not locate raynes/fs__init.class

2016-12-13 Thread Toby Crawley
On Tue, Dec 13, 2016 at 12:20 PM, larry google groups wrote: > (:require >[excel-to-csv.xls :as xls] >[excel-to-csv.xlsx :as xlsx] >[excel-to-csv.temporal :as temporal] >[taoensso.timbre :as timbre] >[raynes.fs :as fs] The ns is named

Why would I get this: FileNotFoundException: Could not locate raynes/fs__init.class

2016-12-13 Thread larry google groups
al] [taoensso.timbre :as timbre] [raynes.fs :as fs] [clojure.java.io :as io] [defun.core :refer [defun]] I do "lein clean" and then "lein uberjar" and I get: Compiling excel-to-csv.core java.io.FileNotFoundException: Could not locate raynes/fs__init.class or raynes/fs.clj

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

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: > >

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

2015-10-22 Thread Timur
Hi all, I have a multi-project set-up. Base project A depends on [ring/ring-jetty-adapter "1.4.0"], a project B depends on this project A which is included in project C. So in simple words dependency graph: [ring/ring-jetty-adapter "1.4.0"] -> project A -> project B -> project C When I run

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. > >

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 >

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

Re: How to troubleshoot FileNotFoundException: Could not locate clojure/tools/namespace/parse...?

2014-04-04 Thread Jakub Holy
with the key line being: FileNotFoundException: Could not locate clojure/tools/namespace/parse__init.class or clojure/tools/namespace/parse.clj on classpath This could be caused by different libraries or plugins depending on different versions of tools.namespace

Re: How to troubleshoot FileNotFoundException: Could not locate clojure/tools/namespace/parse...?

2014-04-03 Thread Jakub Holy
which helps narrow things down... $ lein ring server Exception in thread main java.io.FileNotFoundException: Could not locate clojure/tools/namespace/parse__init.class or clojure/tools/namespace/parse.clj on classpath: , compiling:(ns_tracker/parse.clj:1:1) ^^^ This tells us it failed to load

Re: How to troubleshoot FileNotFoundException: Could not locate clojure/tools/namespace/parse...?

2014-04-03 Thread Sean Corfield
On Apr 3, 2014, at 4:30 AM, Jakub Holy jakub.h...@iterate.no wrote: The stack trace points to ns-tracker as the cause and indeed removing it fixes the problem. However it is actually conflict between ns-tracker and clj-ns-browser that causes the failure; removing any one fixes it. But the

Re: How to troubleshoot FileNotFoundException: Could not locate clojure/tools/namespace/parse...?

2014-04-03 Thread Stuart Sierra
On Wednesday, April 2, 2014 7:49:07 AM UTC-4, Jakub Holy wrote: When starting lein (namely lein ring server) I got a little helpful exception and stack trace with the key line being: FileNotFoundException: Could not locate clojure/tools/namespace/parse__init.class or clojure/tools

Re: How to troubleshoot FileNotFoundException: Could not locate clojure/tools/namespace/parse...?

2014-04-02 Thread Sean Corfield
one or other of your dependencies to get things working). But if you want to start from the stack trace... A lot of the stack trace can be thrown away / ignored which helps narrow things down... $ lein ring server Exception in thread main java.io.FileNotFoundException: Could not locate

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

2012-10-25 Thread larry google groups
delegate]] [ring.util.response] [ring.middleware.params] [ring.adapter.jetty :only [run-jetty]])) I run lein deps and then lein compile. I get this error: Exception in thread main java.io.FileNotFoundException: Could not locate clojure/data/json__init.class or clojure

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]

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 jimpil1...@gmail.com 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

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

2012-10-25 Thread Dave Ray
] [ring.adapter.jetty :only [run-jetty]])) I run lein deps and then lein compile. I get this error: Exception in thread main java.io.FileNotFoundException: Could not locate clojure/data/json__init.class or clojure/data/json.clj on classpath: , compiling:(core.clj:1

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

2012-10-25 Thread larry google groups
main java.io.FileNotFoundException: Could not locate clojure/data/json__init.class or clojure/data/json.clj on classpath: , compiling:(core.clj:1) at clojure.lang.Compiler$InvokeExpr.eval(Compiler.java:3342) at clojure.lang.Compiler.compile1(Compiler.java:6985

lein-cljsbuild simple example on Windows XP with lein2, Could not locate example/routes__init.class or example/routes.clj on classpath

2012-07-15 Thread George Oliver
ring server-headless 3000 Exception in thread main java.io.FileNotFoundException: Could not locate example/routes__init.class or example/routes.clj on classpath: at clojure.lang.RT.load(RT.java:432) at clojure.lang.RT.load(RT.java:400) at clojure.core$load$fn__4890.invoke

Re: lein-cljsbuild simple example on Windows XP with lein2, Could not locate example/routes__init.class or example/routes.clj on classpath

2012-07-15 Thread George Oliver
On Sunday, July 15, 2012 12:00:57 AM UTC-7, George Oliver wrote: hi, I'm trying to get lein-cljsbuild running on Windows XP. I copied the simple example at https://github.com/emezeske/lein-cljsbuild/tree/master/example-projects/simple I think I found a fix for this; in the example

Re: lein-cljsbuild simple example on Windows XP with lein2, Could not locate example/routes__init.class or example/routes.clj on classpath

2012-07-15 Thread Evan Mezeske
Since Leiningen 2.x has not yet been released, lein-cljsbuild uses Leiningen 1.x for both the example projects, and building the plugin itself. The problem you ran into is a difference between Leiningen 1.x and 2.x. I created an issue to make sure that this fact is made more clear:

Re: lein-cljsbuild simple example on Windows XP with lein2, Could not locate example/routes__init.class or example/routes.clj on classpath

2012-07-15 Thread George Oliver
On Sunday, July 15, 2012 1:17:04 PM UTC-7, Evan Mezeske wrote: Since Leiningen 2.x has not yet been released, lein-cljsbuild uses Leiningen 1.x for both the example projects, and building the plugin itself. The problem you ran into is a difference between Leiningen 1.x and 2.x. I

Re: lein-cljsbuild simple example on Windows XP with lein2, Could not locate example/routes__init.class or example/routes.clj on classpath

2012-07-15 Thread Evan Mezeske
Thanks; do you know of a project that uses the latest cljsbuild with lein 2 I could try to test? I was able to launch the ring server in the advanced project, but I'm still failing launching the repl. Not off the top of my head. Unfortunately, github's search tool is junk, otherwise it

Re: lein-cljsbuild simple example on Windows XP with lein2, Could not locate example/routes__init.class or example/routes.clj on classpath

2012-07-15 Thread George Oliver
On Sunday, July 15, 2012 3:15:34 PM UTC-7, Evan Mezeske wrote: Thanks; do you know of a project that uses the latest cljsbuild with lein 2 I could try to test? Not off the top of my head. Unfortunately, github's search tool is junk, otherwise it might be possible to find something

Re: lein-cljsbuild simple example on Windows XP with lein2, Could not locate example/routes__init.class or example/routes.clj on classpath

2012-07-15 Thread Evan Mezeske
You might also want to control for Linux/BSD vs Windows. From what I can tell, there are very few Windows users of lein-cljsbuild (or Leiningen even, for that matter), and thus the problems are distributed over not-so-many eyeballs. On Sunday, July 15, 2012 3:52:46 PM UTC-7, George Oliver

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

2012-06-24 Thread omer
hi i need help!!! i have a project to finish but i keep on hitting this error: Could not locate clojure/contrib/string__init.class or clojure/contrib/string.clj on classpath: i tried everything i know (which is not much) and i read tons of metiral in the net, but i still cant figure out how

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

2012-06-24 Thread Moritz Ulrich
this error: Could not locate clojure/contrib/string__init.class or clojure/contrib/string.clj on classpath: i tried everything i know (which is not much) and i read tons of metiral in the net, but i still cant figure out how to deal with this! i am knew to clojure and i cant continue my

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

2012-04-26 Thread Chirag Ghiyad
: 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

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

2012-04-26 Thread Alex Ott
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

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

2012-04-26 Thread Dave Sann
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