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
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:/
>>>>> >
>>>>> > 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
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.
>>> >>
>>
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;
)
>> >
>> >
>> > 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
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
(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
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"'
> >&
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
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:
>
&
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
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
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
>
>
> 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
.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
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.
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
] 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
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
>
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
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
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
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:
>
>
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
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.
>
>
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
>
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
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
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
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
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
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
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
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]
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
]
[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
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
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
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
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:
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
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
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
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
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
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
: 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
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
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
50 matches
Mail list logo