Can you share your project.clj and your project's directory structure?

On Oct 3, 2020 at 6:17:36 PM, ok_computer <j.marcus1...@gmail.com> wrote:

> After reinstalling Leiningen via brew, I started getting classpath
> errors.  I uninstalled all my Clojure libs, deleted the ~/.lein folder and
> started fresh with a new install using 'brew install Leiningen' which gave
> me a new Clojure and Leiningen.  It worked fine at first, until I tried
> creating a new Leiningen project, which gave me classpath errors when
> starting a repl.  No changes were made to the initial project, and the
> files do exist.  I've tried setting the :source-paths in project.clj but no
> results...  What else can I do to troubleshoot this?
> I'm using java 11.0.8-zulu, with macOS Catalina 10.15.7
> Below is the exception, in case it matters:
>
> #error {
>  :cause Could not locate myapp/core__init.class, myapp/core.clj or
> myapp/core.cljc on classpath.
>  :via
>  [{:type java.io.FileNotFoundException
>    :message Could not locate myapp/core__init.class, myapp/core.clj or
> myapp/core.cljc on classpath.
>    :at [clojure.lang.RT load RT.java 462]}]
>  :trace
>  [[clojure.lang.RT load RT.java 462]
>   [clojure.lang.RT load RT.java 424]
>   [clojure.core$load$fn__6839 invoke core.clj 6126]
>   [clojure.core$load invokeStatic core.clj 6125]
>   [clojure.core$load doInvoke core.clj 6109]
>   [clojure.lang.RestFn invoke RestFn.java 408]
>   [clojure.core$load_one invokeStatic core.clj 5908]
>   [clojure.core$load_one invoke core.clj 5903]
>   [clojure.core$load_lib$fn__6780 invoke core.clj 5948]
>   [clojure.core$load_lib invokeStatic core.clj 5947]
>   [clojure.core$load_lib doInvoke core.clj 5928]
>   [clojure.lang.RestFn applyTo RestFn.java 142]
>   [clojure.core$apply invokeStatic core.clj 667]
>   [clojure.core$load_libs invokeStatic core.clj 5985]
>   [clojure.core$load_libs doInvoke core.clj 5969]
>   [clojure.lang.RestFn applyTo RestFn.java 137]
>   [clojure.core$apply invokeStatic core.clj 667]
>   [clojure.core$require invokeStatic core.clj 6007]
>   [clojure.core$require doInvoke core.clj 6007]
>   [clojure.lang.RestFn invoke RestFn.java 408]
>   [user$eval5 invokeStatic form-init6272947423385671595.clj 1]
>   [user$eval5 invoke form-init6272947423385671595.clj 1]
>   [clojure.lang.Compiler eval Compiler.java 7177]
>   [clojure.lang.Compiler eval Compiler.java 7166]
>   [clojure.lang.Compiler eval Compiler.java 7166]
>   [clojure.lang.Compiler load Compiler.java 7636]
>   [clojure.lang.Compiler loadFile Compiler.java 7574]
>   [clojure.main$load_script invokeStatic main.clj 475]
>   [clojure.main$init_opt invokeStatic main.clj 477]
>   [clojure.main$init_opt invoke main.clj 477]
>   [clojure.main$initialize invokeStatic main.clj 508]
>   [clojure.main$null_opt invokeStatic main.clj 542]
>   [clojure.main$null_opt invoke main.clj 539]
>   [clojure.main$main invokeStatic main.clj 664]
>   [clojure.main$main doInvoke main.clj 616]
>   [clojure.lang.RestFn applyTo RestFn.java 137]
>   [clojure.lang.Var applyTo Var.java 705]
>   [clojure.main main main.java 40]]}
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> 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 clojure+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/clojure/0d3dadd2-e22b-4396-aa60-28627ab88f0dn%40googlegroups.com
> <https://groups.google.com/d/msgid/clojure/0d3dadd2-e22b-4396-aa60-28627ab88f0dn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
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 clojure+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/CAKL9L2nrGxjr7%3DjosNmrZfQ0Qn2TtUEi-BjWTZ%2BLOAGiys_B8Q%40mail.gmail.com.

Reply via email to