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

NoClassDefFoundError when starting Kamon without slf4j-api in classpath #32

Closed
ivantopo opened this issue May 12, 2014 · 0 comments
Closed
Labels

Comments

@ivantopo
Copy link
Contributor

The exception bellow is fired when no slf4j-api is available in the classpath.. we should either declare the dependency explicitly to make sure it is always there or eliminate the dependency.

[AppClassLoader@138297fe] error Cannot instantiate message handler kamon.weaver.logging.KamonWeaverMessageHandler -- (NoClassDefFoundError) org/slf4j/LoggerFactory
12:54:33 web.1   | org/slf4j/LoggerFactory
12:54:33 web.1   | java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
12:54:33 web.1   | at kamon.weaver.logging.KamonWeaverMessageHandler.<init>(KamonWeaverMessageHandler.scala:29)
@ivantopo ivantopo added the Bug label May 12, 2014
@dpsoft dpsoft closed this as completed in b758b4d May 12, 2014
dpsoft added a commit that referenced this issue Dec 4, 2016
ivantopo added a commit that referenced this issue Mar 9, 2020
Update HostMetricsCollector.scala
ivantopo added a commit that referenced this issue Mar 29, 2020
only replace http server operation names on 404 responses, fixes #29
ivantopo added a commit that referenced this issue Mar 29, 2020
…#28 (#32)

* run WSClient instrumentation only once when filters are applied, fixes #28
* instrument WSClient.url(..) instead of WSRequestExecutor
* instrument WSRequest instead of the ning-specific implementation
* fix compilation error for 2.6/Scala 2.11
ivantopo pushed a commit that referenced this issue Mar 31, 2020
Loading reporters from the configuration file uses Java reflection to instatiate the reporter with its no-args constructor. No such constructor was generated for `InfluxDBReporter` (the default argument value doesn’t generate one).
ivantopo added a commit that referenced this issue Mar 31, 2020
Force conversion toSeq in config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant