FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Java

 
 
LinkBack Thread Tools
 
Old 09-20-2012, 05:04 PM
Mathieu Malaterre
 
Default 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.jarataBrowser/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: , compilingcore.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
 
Old 09-20-2012, 06:17 PM
Manuel Prinz
 
Default 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
 

Thread Tools




All times are GMT. The time now is 10:44 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org