> I took a look, and your config seems fine. I was able to run the deploy
> myself without issue. cc'ing the pallet list to see if they have any ideas.
>
> On Tue, Mar 27, 2012 at 2:18 PM, Anthony Johnson <
> anthonymor...@gmail.com> wrote:
>
>> So, I'm trying to follow the basic instruction for using storm-deploy...
>> which seems like it should be simple enough, and apparently people are able
>> to get this to run, but i'm not having any luck.
>>
>> Caused by: java.lang.RuntimeException: java.lang.RuntimeException:
>> java.lang.RuntimeException: java.lang.ClassCastException:
>> clojure.lang.PersistentArrayMap cannot be cast to clojure.lang.Named
>> at clojure.lang.LazySeq.sval(LazySeq.java:47)
>> at clojure.lang.LazySeq.seq(LazySeq.java:56)
>> at clojure.lang.Cons.next(Cons.java:39)
>> at clojure.lang.PersistentHashSet.create(PersistentHashSet.java:43)
>> at clojure.core$set.invoke(core.clj:3166)
>> at pallet.compute.implementation$providers.invoke(implementation.clj:28)
>>
>> Any ideas?
This error has something to do with the classpath, and is I think
unrelated to ~/.pallet/config.clj.
The exception is apparently caused by clojure.contrib's
find-namespaces-on-classpath returning a map instead of a namespace
symbol.
The only way I can see this happening is if there is a file somewhere on
the classpath with a `ns` form that incorrectly tries setting metadata
using a map, eg.
(ns {:doc "Some doc"} my.ns ....)
instead of,
(ns ^{:doc "Some doc"} my.ns ....)
Since this works for Nathan, I assume that the classpath is somehow
getting extra entries on it.
Anthony, might you have a CLASSPATH environment variable set? If so
could you try removing it and running storm deploy again?
Hugo
Nathan Marz writes:
> I took a look, and your config seems fine. I was able to run the deploy
> myself without issue. cc'ing the pallet list to see if they have any ideas.
>