The "Reloading Clojure file" message is not coming from Clojure or ClojureScript - that must be coming from Leiningen or a lein plugin.
Is that "wrong name" part in the actual error or is that something you added? Again, that doesn't seem like something from the language but from the tooling. On Monday, January 2, 2017 at 4:11:42 AM UTC-6, Torsten Uhlmann wrote: > > Hi, > > I was trying to build my ClojureScript project on Windows 10 instead of > Linux or Mac, and I run into this problem. > > When running "lein uberjar" with ":aot :all" for every cljc file I have > in my project it reports something like: > > Reloading Clojure file "\robur\middleware.cljc" failed. > java.lang.NoClassDefFoundError: \robur\middleware__init (wrong name: > robur/middleware__init) > > At first I thought that's the known problem with case insensitive file > names, but I don't have functions that only differ in the case, and that > error seems to indicate something's wrong with the "__init" class, which > seems auto generated by Clojure. > > Looking into my "target/classes" directory a file named " > middleware__init.class" does exist, on Windows as well as Unix. Both have > the exact same size. > > I'm using leiningen 2.7.1 and my project uses clojure 1.8.0 > > Did anyone run into similar problems before? > > Thanks, > Torsten. > > -- 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. For more options, visit https://groups.google.com/d/optout.