-
-
Notifications
You must be signed in to change notification settings - Fork 352
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
refactor: use slf4j API instead of log4j-api #3755
Conversation
Nice work! 2 Points from me:
|
Really nice, thanks a lot @andrewbwogi LGTM. Why does CI fail? |
3 Checkstyle errors
|
Great, thanks, will merge tomorrow. |
Thanks a lot @andrewbwogi, that's very valuable. |
Hi all, Since this PR has been merged, it seems that several projects that use Spoon fail with an java.lang.NoClassDefFoundError: org/slf4j/event/Level For those with access to the Inria CI, see for instance Casper (the same for Juliac although since the log is much larger, the failure is less obvious to spot). Certainly an issue with slf4j then. Any idea or pointer to the solution? |
By merge there were problems in our CI see https://github.com/INRIA/spoon/runs/1726213633. At first glance it looks like a race condition in ParallelProcessor on windows(argh) |
We can probably add a slf4j-something dependency to fix this.
|
Can someone try to build a failing product with the following steps?
|
Possibly related failures (fits the time frame of when this was merged): https://ci.inria.fr/sos/job/juliac/278/console |
How come it would it not be found by clients? That may be due to those jobs being executed with JDK8. |
The weirdness is that this not a ClassNotFoundException but a NoClassDefFoundError. AFAIK this means that the class was present at compile-time but no longer at load/run-time. |
That's correct. It's not all that strange, really, just means that for some reason the required class is not present on the classpath at runtime. Now every other build is failing with this error message when running Spoon's Maven plugin:
Going to try to start replicating some errors locally and see if I can figure it out. |
Can't replicate on my system. I'll try spinning up a few Ubuntu VMs. |
closes #3686