Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lein, linux, project folder with periods- subprocess fails #1161

Closed
viperscape opened this issue May 1, 2013 · 4 comments
Closed

lein, linux, project folder with periods- subprocess fails #1161

viperscape opened this issue May 1, 2013 · 4 comments

Comments

@viperscape
Copy link

when running a new lein project, compojure, and running ring server I get an error on the project folder (lb.juncoapps.com):

Exception in thread "main" java.io.FileNotFoundException: Could not locate lb/juncoapps/com/handler__init.class or lb/juncoapps/com/handler.clj on classpath:
at clojure.lang.RT.load(RT.java:443)
at clojure.lang.RT.load(RT.java:411)
at clojure.core$load$fn__5018.invoke(core.clj:5530)
at clojure.core$load.doInvoke(core.clj:5529)
at clojure.lang.RestFn.invoke(RestFn.java:408)
at clojure.core$load_one.invoke(core.clj:5336)
at clojure.core$load_lib$fn__4967.invoke(core.clj:5375)
at clojure.core$load_lib.doInvoke(core.clj:5374)
at clojure.lang.RestFn.applyTo(RestFn.java:142)
at clojure.core$apply.invoke(core.clj:619)
at clojure.core$load_libs.doInvoke(core.clj:5413)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.core$apply.invoke(core.clj:619)
at clojure.core$require.doInvoke(core.clj:5496)
at clojure.lang.RestFn.invoke(RestFn.java:421)
at user$eval3.invoke(NO_SOURCE_FILE:1)
at clojure.lang.Compiler.eval(Compiler.java:6619)
at clojure.lang.Compiler.eval(Compiler.java:6608)
at clojure.lang.Compiler.eval(Compiler.java:6582)
at clojure.core$eval.invoke(core.clj:2852)
at clojure.main$eval_opt.invoke(main.clj:308)
at clojure.main$initialize.invoke(main.clj:327)
at clojure.main$null_opt.invoke(main.clj:362)
at clojure.main$main.doInvoke(main.clj:440)
at clojure.lang.RestFn.invoke(RestFn.java:421)
at clojure.lang.Var.invoke(Var.java:419)
at clojure.lang.AFn.applyToHelper(AFn.java:163)
at clojure.lang.Var.applyTo(Var.java:532)
at clojure.main.main(main.java:37)
Subprocess failed

is there a way around this other than renaming the folder?
if this is already an issue being tracked, please let me know and I'll remove this.

Thanks

@viperscape
Copy link
Author

Steps to produce error:

  1. lein new compojure lb.juncoapps.com
  2. cd lb.juncoapps.com/
  3. lein ring server

@technomancy
Copy link
Owner

I can't reproduce this with lein run; maybe it's a problem with the lein-ring plugin?

@viperscape
Copy link
Author

i noticed that if i make a base default template it takes the src directory and splits it out:
src
..lb
....juncoapps
.......com.clj

while the compojure template lein made did not, instead it made the folders:
src
..lb.juncoapps.com
....handler.clj

@technomancy
Copy link
Owner

Gotcha; definitely a bug on the compojure template side then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants