-
Notifications
You must be signed in to change notification settings - Fork 327
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
App fails to start with java.lang.NoClassDefFoundError on 2.19 #1027
Comments
@RomanLebid you have the jedis dependency in your application classpath? Do you have multiple versions? |
Well, my bad. I'll fix this asap |
@dpsoft No, we don't have any redis clients at all (double-checked that with It's just a simple Akka HTTP app with a couple of endpoints. |
This is my bad, the new version of Kamon will fail to load for everyone who doesn't have jedis on the classpath :/ |
Fixed with 2.1.20. |
Hi, we just saw this error in 2.1.21, is it possible there was a regression? |
Hey @channingwalton, can you please double check the version that ended up in the classpath? I tried a minute ago and couldn't reproduce the issue. |
Hi @ivantopo, will do. We went from 2.1.18 to 2.1.21, saw no problems in QA, but typically everything went wrong in prod. It'll take me a little time to investigate though - probably Monday. |
I've just seen an error in our QA environment with 2.1.20 too. I'm reverting to 2.1.18 which was working to check that there isn't anything else going on. |
Hi, FYI our QA was fine with 2.1.18. |
Do you see the same error with 2.2.0 (released on Friday)? |
I'll try it now … |
Yes, we are seeing these exceptions on start up:
Kamon is initialised on start up, and the reconfigured later, so I don't think its the usual issue:
and we depend on kamon-influxdb and kamon-bundle. I am very willing to accept we are doing something else wrong of course. |
Can you please double-check the runtime classpath? We saw a few times in the past that users had old artifacts in the classpath and those were being picked up before the updated ones. |
Will do. |
After uprgading
kamon-bundle
to 2.19 with kanela-agent 1.0.9, application instantly fails afterKamon.init()
call with the following error:The only thing that allows application to start correctly is disabling redis instrumentation explicitly via
The text was updated successfully, but these errors were encountered: