You should import LinkedBlockingQueue to your namespace.
(ns ...
(:import java.util.concurrent.LinkedBlockingQueue)) (recommended way)
or
(import 'java.util.concurrent.LinkedBlockingQueue)
Why do this error is misleading for you?
2014-08-22 1:35 GMT+03:00 gvim <[email protected]>:
> On 21/08/2014 14:35, Serzh Nechyporchuk wrote:
>
>> This code works fine for me. Did you try to reload repl?
>>
>>
> Reloaded but now getting this error:
>
> CompilerException java.lang.IllegalArgumentException: Unable to resolve
> classname: LinkedBlockingQueue
>
> Maybe something needs :require-ing
>
> If this is the source of the original problem the error messages are very
> misleading and need some work.
>
> gvim
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to [email protected]
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> --- You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
--
Best regards,
Serhii Nechyporchuk
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.