-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
2.6.0 and ClassNotFound with lein midje #2079
Comments
Yeah, I can verify that this breaks for some reason. I'll have a look later today to see if I can figure out the cause. |
If it helps, I get the same problem with a pretty basic compojure app. To reproduce, create a new app using the compojure-app template (see: https://github.com/yogthos/compojure-template) and attempt to run it with "lein ring server-headless". You should see it fail in the same way. |
This is now fixed on master. Since this breaks many popular plugins, I believe this warrants a bugfix release in and of itself. I'd like to wait roughly half a day, so that other potentially major bugs can be discovered and hopefully be resolved in the same release. |
I'm still getting this error on
|
I need some more information here to be able to debug this: Is this an issue with a plugin, or is that a pure project that runs Does it work fine if you do |
Much apologies, as of today with the exact same setup I had on Monday I'm unable to replicate. |
Oh, no worries; feel free to comment if you hit the issue again. |
I have a plugin that still fails reliably, and it seems to correlate with @owengalenjones 's failure that he listed above. The plugin uses configleaf, and from the output above, I believe that his does too. |
@sdegler If you could get a minimal reproducible case I'd be happy to take a look at it. Is it simply basic use of configleaf that fails? |
It is the basic use of configleaf hook functionality that fails. It hooks Since Leiningen rebinds I tried working around the problem by adding
while compiling the configleaf-produced namespace. This seems to refer to its I cannot escape the conclusion that the entire blame for trying to do something unreasonable here lies with configleaf (which hasn't been updated in 4 years). A simple rebinding of |
I think this may be resolved again with #2082, which was released with lein 2.7.0. Can someone confirm this? |
I'm going to close this but would be happy to reopen if given a repro case. |
I am not sure if this is lein, lein-midje or midje issue.
I just did
lein upgrade
and nowlein midje
fails with this stacktrace when using lein 2.6.0Everything worked fine with lein 2.5.3.
I am using plugin
lein-midje "3.1.3"
and clojure 1.8.0The text was updated successfully, but these errors were encountered: