It looks like there's a dependency mismatch between the version of Ring
that Lein-Ring injects, and the version you've added to your project file.
If you update Ring to 1.6.2 (and lein clean) it should work.

On 22 October 2017 at 18:40, Angel Java Lopez <[email protected]> wrote:

> Hi!
>
> I have a problem, following the instructions:
>
> https://github.com/ring-clojure/ring/wiki/Getting-Started
>
> I can run the server using the repl
>
> But when I added the plugin, according to:
>
> https://github.com/ring-clojure/ring/wiki/Interactive-Development
>
> and execute
>
> lein ring server
>
> I get the infamous error:
>
> Exception in thread "main" java.lang.RuntimeException: No reader function
> for tag object, compiling:....:
>         at clojure.lang.Compiler.load(Compiler.java:7386)
>         at clojure.lang.Compiler.loadFile(Compiler.java:7317)
>         at clojure.main$load_script.invokeStatic(main.clj:275)
>         at clojure.main$init_opt.invokeStatic(main.clj:277)
>         at clojure.main$init_opt.invoke(main.clj:277)
>         at clojure.main$initialize.invokeStatic(main.clj:308)
>         at clojure.main$null_opt.invokeStatic(main.clj:342)
>         at clojure.main$null_opt.invoke(main.clj:339)
>         at clojure.main$main.invokeStatic(main.clj:421)
>         at clojure.main$main.doInvoke(main.clj:384)
>         at clojure.lang.RestFn.invoke(RestFn.java:421)
>         at clojure.lang.Var.invoke(Var.java:383)
>         at clojure.lang.AFn.applyToHelper(AFn.java:156)
>         at clojure.lang.Var.applyTo(Var.java:700)
>         at clojure.main.main(main.java:37)
> Caused by: java.lang.RuntimeException: No reader function for tag object
>         at clojure.lang.LispReader$CtorReader.readTagged(
> LispReader.java:1245)
>         at clojure.lang.LispReader$CtorReader.invoke(LispReader.java:1228)
> .....
>
> Using Windows 10, JDK 1.8_074
>
> Current project at:
>
> https://github.com/ajlopez/ClojureSamples/tree/master/Ring/helloring
>
> I tried other tutorials, examples, using the REPL is OK, but using the
> plugin and lein ring server, does not work
>
> Notable, other ring plugin commands work, like lein ring uberjar
>
> Any cues??
>
> TIA
>
> Angel "Java" Lopez
> @ajlopez
>
> --
> 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.
>



-- 
James Reeves
booleanknot.com

-- 
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.

Reply via email to