Fork me on GitHub
#chestnut
<
2017-09-15
>
nooga11:09:10

chestnut project complains "java.lang.IllegalArgumentException: No matching method: app_system, compiling:(user.clj:14:10)" on every (user/reset) and I have to go and eval my application and config namespaces, then user and then (go) works again

featheredtoast16:09:22

@nooga is this from a clean new project?

featheredtoast16:09:27

New projects' user ns should reference app-system; the underscore looks suspicious to me

nooga18:09:59

@featheredtoast I noticed it after doing some work and app_system is probably how java error refers to app-system

nooga18:09:33

user.clj:14:10 is (mystuff.application/app-system (config))

featheredtoast18:09:08

ah, ok. I kinda figured, but I'm not super familiar with how clj plays with underlying java stuff. have you lein uberjar'd perchance?

nooga18:09:52

Yeah I did several times but this happens in the repl

featheredtoast18:09:07

suggesting a lein clean, wondering if it's possible that your repl is trying to run the function from a .class file in the classpath, rather your clj namespace or something.

featheredtoast18:09:45

(Most issues I've come across with switching between uberjar-ing and repl dev have been solved by a clean.)

nooga19:09:07

that might be the case

nooga19:09:12

I’ll try that in a bit