Readd error???

11 views
Skip to first unread message

jayvandal

unread,
Sep 9, 2011, 1:43:21 AM9/9/11
to Clojure
I have installed cake accoring to the instructions. I then attempt ot
run the sql and I get this information. I don't know where to look.
Could anyone explain what the problem is???
Thanks in advance
===========================================Microsoft Windows [Version
6.0.6002]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.

C:\Users\jim>cd\

C:\>cd cl*

C:\clojure-1.2.1>dir
Volume in drive C is HP
Volume Serial Number is 28B9-D63A

Directory of C:\clojure-1.2.1

09/08/2011 12:35 PM <DIR> .
09/08/2011 12:35 PM <DIR> ..
06/09/2011 12:25 PM 92 .gitignore
09/08/2011 08:14 AM <DIR> arthuredelstein-clooj-556ab34
08/30/2011 05:39 PM 960 blog.clj
09/01/2011 06:55 PM <DIR> briancarper-cow-blog-ae01529
06/09/2011 12:25 PM 10,709 build.xml
09/08/2011 01:06 PM <DIR> cake
06/09/2011 12:25 PM 8,157 changes.txt
09/03/2011 05:24 PM 35 clj.bat
09/03/2011 05:22 PM 35 clj.txt
08/29/2011 09:58 AM 7,187,869 cljr-installer.jar
08/25/2011 12:16 PM <DIR> Clojure Box
08/31/2011 10:20 PM <DIR> clojure-contrib
09/08/2011 12:06 PM <DIR> clojure-koans
06/09/2011 12:25 PM 3,241,131 clojure.jar
08/31/2011 01:00 PM <DIR> clojureweb
09/01/2011 11:11 PM 4,555,286 clooj-0.1.32-STANDALONE.jar
09/01/2011 07:05 PM <DIR> compojure
09/07/2011 10:38 AM 3,158 crud.clj
09/07/2011 01:38 PM <DIR> danielribeiro-
ClojureCoffeeScriptGame-817
1b9c
09/07/2011 09:25 PM <DIR> daveray-seesaw-5239767
08/22/2011 10:20 AM <DIR> doc
06/09/2011 12:25 PM 12,917 epl-v10.html
09/03/2011 11:04 PM 1,142 filetasks.clj
09/05/2011 11:41 PM <DIR> gui-trial
08/29/2011 09:33 PM <DIR> helloworld
08/30/2011 05:37 PM 14 jimbo.clj
08/31/2011 05:07 PM <DIR> LauJensen-clojureql-995590e
08/31/2011 12:19 AM <DIR> lein
09/08/2011 08:09 AM <DIR> lspector-clojinc-5b57629
08/26/2011 01:12 PM <DIR> Markdown_1.0.1
09/07/2011 01:31 PM 1,727 mesql.txt
08/30/2011 05:50 PM 170 my5.clj
08/31/2011 09:51 AM 732,657 mysql-connector-5.1.11.jar
03/29/2011 11:25 AM 540,852 mysql-connector-java-5.0.8-
bin.jar
09/08/2011 08:17 PM <DIR> ninjudd-cake-50e3827
06/09/2011 12:25 PM 828 pom-template.xml
09/07/2011 10:22 PM <DIR> proj
06/09/2011 12:25 PM 2,305 readme.txt
06/09/2011 12:25 PM 1,053 release.sh
09/07/2011 11:43 AM 6,959 sql2.clj
09/07/2011 06:17 PM 5,417 sqltest.clj
08/22/2011 10:20 AM <DIR> src
09/08/2011 07:41 AM <DIR> stuarthalloway-programming-
clojure-5a94c5
9
08/22/2011 10:27 AM <DIR> technomancy-leiningen-9cf2c0a
08/22/2011 10:20 AM <DIR> test
09/03/2011 02:57 PM 1,921 webhi.clj
23 File(s) 16,315,394 bytes
25 Dir(s) 162,166,337,536 bytes free

C:\clojure-1.2.1>cd lau*

C:\clojure-1.2.1\LauJensen-clojureql-995590e>lein repl
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at jline.ConsoleRunner.main(ConsoleRunner.java:69)
Caused by: java.lang.Exception: No such namespace: Cake (project.clj:
1)
at clojure.lang.Compiler.analyze(Compiler.java:5205)
at clojure.lang.Compiler.analyze(Compiler.java:5151)
at clojure.lang.Compiler.eval(Compiler.java:5428)
at clojure.lang.Compiler.load(Compiler.java:5857)
at clojure.lang.Compiler.loadFile(Compiler.java:5820)
at clojure.lang.RT$3.invoke(RT.java:296)
at leiningen.core$read_project$fn__90.invoke(core.clj:141)
at leiningen.core$read_project.invoke(core.clj:140)
at leiningen.core$read_project.invoke(core.clj:144)
at leiningen.core$_main.doInvoke(core.clj:277)
at clojure.lang.RestFn.invoke(RestFn.java:411)
at clojure.lang.AFn.applyToHelper(AFn.java:163)
at clojure.lang.RestFn.applyTo(RestFn.java:133)
at clojure.core$apply.invoke(core.clj:542)
at leiningen.core$_main.invoke(core.clj:288)
at user$eval153.invoke(NO_SOURCE_FILE:1)
at clojure.lang.Compiler.eval(Compiler.java:5424)
at clojure.lang.Compiler.eval(Compiler.java:5391)
at clojure.core$eval.invoke(core.clj:2382)
at clojure.main$eval_opt.invoke(main.clj:235)
at clojure.main$initialize.invoke(main.clj:254)
at clojure.main$script_opt.invoke(main.clj:270)
at clojure.main$main.doInvoke(main.clj:354)
at clojure.lang.RestFn.invoke(RestFn.java:458)
at clojure.lang.Var.invoke(Var.java:377)
at clojure.lang.AFn.applyToHelper(AFn.java:174)
at clojure.lang.Var.applyTo(Var.java:482)
at clojure.main.main(main.java:37)
... 5 more
Caused by: java.lang.Exception: No such namespace: Cake
at clojure.lang.Compiler.resolveIn(Compiler.java:5647)
at clojure.lang.Compiler.resolve(Compiler.java:5621)
at clojure.lang.Compiler.analyzeSymbol(Compiler.java:5584)
at clojure.lang.Compiler.analyze(Compiler.java:5172)
... 32 more

C:\clojure-1.2.1\LauJensen-clojureql-995590e>cd..

C:\clojure-1.2.1>cd cake

C:\clojure-1.2.1\cake>lein repl
Downloading: org/apache/ant/ant/1.8.1/ant-1.8.1.jar from clojure
Downloading: org/apache/ant/ant/1.8.1/ant-1.8.1.jar from clojars
Downloading: org/apache/ant/ant/1.8.1/ant-1.8.1.jar from central
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at jline.ConsoleRunner.main(ConsoleRunner.java:69)
Caused by: java.lang.Exception: Couldn't connect (NO_SOURCE_FILE:0)
at clojure.lang.Compiler.eval(Compiler.java:5440)
at clojure.lang.Compiler.eval(Compiler.java:5391)
at clojure.core$eval.invoke(core.clj:2382)
at clojure.main$eval_opt.invoke(main.clj:235)
at clojure.main$initialize.invoke(main.clj:254)
at clojure.main$script_opt.invoke(main.clj:270)
at clojure.main$main.doInvoke(main.clj:354)
at clojure.lang.RestFn.invoke(RestFn.java:458)
at clojure.lang.Var.invoke(Var.java:377)
at clojure.lang.AFn.applyToHelper(AFn.java:174)
at clojure.lang.Var.applyTo(Var.java:482)
at clojure.main.main(main.java:37)
... 5 more
Caused by: java.lang.Exception: Couldn't connect
at leiningen.repl$poll_repl_connection.invoke(repl.clj:103)
at leiningen.repl$repl.invoke(repl.clj:142)
at clojure.lang.Var.invoke(Var.java:365)
at clojure.lang.AFn.applyToHelper(AFn.java:163)
at clojure.lang.Var.applyTo(Var.java:482)
at clojure.core$apply.invoke(core.clj:542)
at leiningen.core$apply_task.invoke(core.clj:219)
at leiningen.core$_main.doInvoke(core.clj:285)
at clojure.lang.RestFn.invoke(RestFn.java:411)
at clojure.lang.AFn.applyToHelper(AFn.java:163)
at clojure.lang.RestFn.applyTo(RestFn.java:133)
at clojure.core$apply.invoke(core.clj:542)
at leiningen.core$_main.invoke(core.clj:288)
at user$eval153.invoke(NO_SOURCE_FILE:1)
at clojure.lang.Compiler.eval(Compiler.java:5424)
... 16 more

Michael Wood

unread,
Sep 9, 2011, 2:49:21 AM9/9/11
to clo...@googlegroups.com
Hi

On 9 September 2011 07:43, jayvandal <si...@ida.net> wrote:
> I have installed cake accoring to the instructions. I then attempt ot
> run the sql  and I get this information. I don't know where to look.
> Could anyone explain what the problem is???
> Thanks in advance

> ===========================================Microsoft [...]


> C:\clojure-1.2.1\LauJensen-clojureql-995590e>lein repl
> Exception in thread "main" java.lang.reflect.InvocationTargetException

[...]


> Caused by: java.lang.Exception: No such namespace: Cake (project.clj:
> 1)

[...]

I have never used cake, but I think it's basically an alternative to
Leiningen. What happens if you try "cake repl" instead of "lein
repl"?

--
Michael Wood <esio...@gmail.com>

Reply all
Reply to author
Forward
0 new messages