Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion ClassNotFoundException + (use 'swank.cdt)

Received: by 10.50.46.233 with SMTP id y9mr409700igm.4.1340342735220;
        Thu, 21 Jun 2012 22:25:35 -0700 (PDT)
X-BeenThere: swank-clojure@googlegroups.com
Received: by 10.231.80.14 with SMTP id r14ls1056638ibk.4.gmail; Thu, 21 Jun
 2012 22:25:33 -0700 (PDT)
Received: by 10.43.49.6 with SMTP id uy6mr376681icb.1.1340342733534;
        Thu, 21 Jun 2012 22:25:33 -0700 (PDT)
Received: by 10.50.82.3 with SMTP id e3msigy;
        Thu, 21 Jun 2012 22:04:57 -0700 (PDT)
Received: by 10.68.233.166 with SMTP id tx6mr71952pbc.12.1340341496844;
        Thu, 21 Jun 2012 22:04:56 -0700 (PDT)
Date: Thu, 21 Jun 2012 22:04:55 -0700 (PDT)
From: Sid Kurias <sid.kur...@gmail.com>
To: swank-clojure@googlegroups.com
Message-Id: <7885a086-9b87-4001-b08a-d03cbd94ef18@googlegroups.com>
In-Reply-To: <CAADtM-a+2ASnfRzb7qPZFid8+5ONyUJBHMdT4pJVoD9uA-eQiA@mail.gmail.com>
References: <c0ecb919-4493-4b48-b7d2-ae330a77555f@googlegroups.com> <87fw9o4afu.fsf@hagelb.org>
 <CAADtM-a+2ASnfRzb7qPZFid8+5ONyUJBHMdT4pJVoD9uA-eQiA@mail.gmail.com>
Subject: Re: ClassNotFoundException + (use 'swank.cdt)
MIME-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_205_5628511.1340341496045"

------=_Part_205_5628511.1340341496045
Content-Type: multipart/alternative; 
	boundary="----=_Part_206_8450592.1340341496045"

------=_Part_206_8450592.1340341496045
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

I had the same issue -- running lein2. Moving back to lein1 seems to fix 
the problem

to find out which lein you are using from within emacs 

M-x customize-group and then clojure-mode

check that the value for Clojure swank command is pointing to the lein 
executable you want to use.

Change the version of the lein-swank version to 1.4.2 in profiles.clj 
(lein2 uses 1.4.4)

Move out any reference to lein2 from your project.clj (mine had min-version 
set to lein2)

Hope that helps
Sid

On Friday, 22 June 2012 06:16:10 UTC+5:30, frye wrote:
>
> Umm, my invocation process is below. How would I specify leinigen 1 or 2? 
>
>    - M-x clojure-jack-in 
>    - (noir.server/start ...)   ; invoking this at the slime repl 
>
>
> `*lein plugin install swank-clojure 1.4.2*` is only needed for 
> lein1. Should I perhaps remove swank-clojure from my *~/.m2/repository* ? 
>
>
> Thanks 
> Tim 
>
>
> On Thu, Jun 21, 2012 at 5:33 PM, Phil Hagelberg <p...@hagelb.org> wrote:
>
>> frye <twash...@gmail.com> writes:
>>
>> > Anything special I have to do to get CDT debugging working? I saw a
>> > few similar issues in online forums (one, two), but they didn't help
>> > fixing the problem. Any help here is appreciated. 
>>
>> I think this may be a problem with the lein-swank plugin not being 100%
>> compatible with lein2. Do you get the same issue with 1.x?
>>
>> -Phil
>>
>
>
------=_Part_206_8450592.1340341496045
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

I had the same issue -- running lein2. Moving back to lein1 seems to fix th=
e problem<br><br>to find out which lein you are using from within emacs <br=
><br>M-x customize-group and then clojure-mode<br><br>check that the value =
for Clojure swank command is pointing to the lein executable you want to us=
e.<br><br>Change the version of the lein-swank version to 1.4.2 in profiles=
.clj (lein2 uses 1.4.4)<br><br>Move out any reference to lein2 from your pr=
oject.clj (mine had min-version set to lein2)<br><br>Hope that helps<br>Sid=
<br><br>On Friday, 22 June 2012 06:16:10 UTC+5:30, frye  wrote:<blockquote =
class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8ex;border-left: 1p=
x #ccc solid;padding-left: 1ex;">Umm, my invocation process is below.&nbsp;=
How would I specify leinigen 1 or 2?&nbsp;<div><ul><li>M-x clojure-jack-in&=
nbsp;</li><li>(noir.server/start ...) &nbsp; ; invoking this at the slime r=
epl&nbsp;</li></ul></div><div><br></div><div>`<i><b>lein plugin install swa=
nk-clojure 1.4.2</b></i>`&nbsp;is only needed for lein1.&nbsp;Should I perh=
aps remove swank-clojure from my <i>~/.m2/repository</i> ?&nbsp;</div>

<div><br></div><div><br></div><div>Thanks&nbsp;</div><div><div>Tim&nbsp;</d=
iv>
<br><br><div class=3D"gmail_quote">On Thu, Jun 21, 2012 at 5:33 PM, Phil Ha=
gelberg <span dir=3D"ltr">&lt;<a href=3D"mailto:p...@hagelb.org" target=3D"=
_blank">p...@hagelb.org</a>&gt;</span> wrote:<br><blockquote class=3D"gmail=
_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:=
1ex">

<div><font color=3D"#c0c0c0">frye &lt;<a href=3D"mailto:twash...@gmail.com"=
 target=3D"_blank">twash...@gmail.com</a>&gt; writes:<br>
<br>
&gt; Anything special I have to do to get CDT debugging working? I saw a<br=
>
&gt; few similar issues in online forums (one, two), but they didn't help<b=
r>
&gt; fixing the problem. Any help here is appreciated.&nbsp;<br>
<br>
</font></div><font color=3D"#c0c0c0">I think this may be a problem with the=
 lein-swank plugin not being 100%<br>
compatible with lein2. Do you get the same issue with 1.x?<br>
<span><br>
-Phil<br>
</span></font></blockquote></div><br></div>
</blockquote>
------=_Part_206_8450592.1340341496045--

------=_Part_205_5628511.1340341496045--