Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian Java (http://www.linux-archive.org/debian-java/)
-   -   Could not locate clojure/data/json__init.class or clojure/data/json.clj on classpath (http://www.linux-archive.org/debian-java/705863-could-not-locate-clojure-data-json__init-class-clojure-data-json-clj-classpath.html)

Mathieu Malaterre 09-20-2012 05:04 PM

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

I am trying to compile micromanager 1.4.10/1.4.11 but it keeps on
failing with:

java -cp DataBrowser/classes/:/usr/share/java/clojure-1.2.jar:/usr/share/java/clojure-contrib.jar:/usr/share/java/data.json.jar:/usr/share/java/ij.jar:../MMCoreJ_wrap/MMCoreJ.jar:../mmstudio/MMJ_.jar:/usr/share/java/bsh-2.0b4.jar:../acqEngine/MMAcqEngine.jar:DataBrowser/src
-Djava.awt.headless=true -Dclojure.compile.path=DataBrowser/classes
-server clojure.lang.Compile org.micromanager.browser.plugin
Compiling org.micromanager.browser.plugin to DataBrowser/classes
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:15)
at clojure.lang.Compiler$InvokeExpr.eval(Compiler.jav a:3390)
at clojure.lang.Compiler.compile1(Compiler.java:7038)
at clojure.lang.Compiler.compile1(Compiler.java:7028)
at clojure.lang.Compiler.compile(Compiler.java:7100)
at clojure.lang.RT.compile(RT.java:387)
at clojure.lang.RT.load(RT.java:427)
at clojure.lang.RT.load(RT.java:400)
at clojure.core$load$fn__4890.invoke(core.clj:5415)
at clojure.core$load.doInvoke(core.clj:5414)
at clojure.lang.RestFn.invoke(RestFn.java:408)
at clojure.core$load_one.invoke(core.clj:5227)
at clojure.core$load_lib.doInvoke(core.clj:5264)
at clojure.lang.RestFn.applyTo(RestFn.java:142)
at clojure.core$apply.invoke(core.clj:603)
at clojure.core$load_libs.doInvoke(core.clj:5298)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.core$apply.invoke(core.clj:605)
at clojure.core$use.doInvoke(core.clj:5392)
at clojure.lang.RestFn.invoke(RestFn.java:408)
at org.micromanager.browser.plugin$loading__4784__aut o__.invoke(plugin.clj:16)
at clojure.lang.AFn.applyToHelper(AFn.java:159)
at clojure.lang.AFn.applyTo(AFn.java:151)
at clojure.lang.Compiler$InvokeExpr.eval(Compiler.jav a:3385)
at clojure.lang.Compiler.compile1(Compiler.java:7038)
at clojure.lang.Compiler.compile1(Compiler.java:7028)
at clojure.lang.Compiler.compile(Compiler.java:7100)
at clojure.lang.RT.compile(RT.java:387)
at clojure.lang.RT.load(RT.java:427)
at clojure.lang.RT.load(RT.java:400)
at clojure.core$load$fn__4890.invoke(core.clj:5415)
at clojure.core$load.doInvoke(core.clj:5414)
at clojure.lang.RestFn.invoke(RestFn.java:408)
at clojure.core$load_one.invoke(core.clj:5227)
at clojure.core$compile$fn__4895.invoke(core.clj:5426 )
at clojure.core$compile.invoke(core.clj:5425)
at clojure.lang.Var.invoke(Var.java:415)
at clojure.lang.Compile.main(Compile.java:81)
Caused by: java.io.FileNotFoundException: Could not locate
clojure/data/json__init.class or clojure/data/json.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(core.clj:5415)
at clojure.core$load.doInvoke(core.clj:5414)
at clojure.lang.RestFn.invoke(RestFn.java:408)
at clojure.core$load_one.invoke(core.clj:5227)
at clojure.core$load_lib.doInvoke(core.clj:5264)
at clojure.lang.RestFn.applyTo(RestFn.java:142)
at clojure.core$apply.invoke(core.clj:603)
at clojure.core$load_libs.doInvoke(core.clj:5298)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.core$apply.invoke(core.clj:605)
at clojure.core$use.doInvoke(core.clj:5392)
at clojure.lang.RestFn.invoke(RestFn.java:457)
at org.micromanager.browser.core$loading__4784__auto_ _.invoke(core.clj:15)
at clojure.lang.AFn.applyToHelper(AFn.java:159)
at clojure.lang.AFn.applyTo(AFn.java:151)
at clojure.lang.Compiler$InvokeExpr.eval(Compiler.jav a:3385)
... 36 more

Anyone seen this before ?

Thanks


--
To UNSUBSCRIBE, email to debian-java-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/CA+7wUsxxK+JAxis3GjKqp2xscDLjcm_dc1Ott1gLh3=kAM9H1 Q@mail.gmail.com

Manuel Prinz 09-20-2012 06:17 PM

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

On Thu, Sep 20, 2012 at 07:04:51PM +0200, Mathieu Malaterre wrote:
> Exception in thread "main" java.io.FileNotFoundException: Could not
> locate clojure/data/json__init.class or clojure/data/json.clj on

IIRC, clojure.contrib.json was moved to clojure.data.json which is not
part of Clojure core anymore but has a new upstream╣. I think it has
not been packaged yet.

As far as I know, a lot of stuff from clojure.contrib was moved to the
clojure.data namespace since clojure.contrib is deprecated in Clojure
1.4. I may be wrong though. Hope this helps to investigate the issue.

Best regards,
Manuel

╣ https://github.com/clojure/data.json


--
To UNSUBSCRIBE, email to debian-java-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/20120920181750.GB25098@woodstock


All times are GMT. The time now is 01:56 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.