-
Notifications
You must be signed in to change notification settings - Fork 387
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
Instantiationerror when using with scala-logging #99
Comments
Looks like version of scala logging that we use in reactive kafka already deprecated. We use @kciesielski I see no reason to keep this version and suggest to use new one. What do you think? |
@13h3r We kept |
Got it. First of all lets ensure that problem is in scala logging version. |
Ok, I'm preparing a PR in the meantime (#100) |
"com.typesafe.scala-logging" %% "scala-logging-slf4j" % "2.1.2" seems to work fine when running both from sbt and jar . |
@concerned3rdparty Doesn't that break your own logging code? Can you show some examples how you import/use scala logging? |
After a change in import statement , it worked for version "2.1.2".
|
Please leave comment if any |
After sbt assembly , when i try to run the app from jar , it gives the error below .Is this about dependency version conflict? Any suggestions for the problem?
dependencies:
libraryDependencies += "com.softwaremill.reactivekafka" %% "reactive-kafka-core" % "0.10.0"
libraryDependencies += "com.typesafe.scala-logging" %% "scala-logging" % "3.1.0"
libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.1.3"
Exception in thread "main" java.lang.InstantiationError: com.typesafe.scalalogging.Logger
at com.typesafe.scalalogging.Logger$.apply(Logger.scala:31)
at com.typesafe.scalalogging.LazyLogging$class.logger(Logging.scala:28)
at io.tazi.featureengineering.FeatureEngineering.logger$lzycompute(FeatureEngineering.scala:24)
at io.tazi.featureengineering.FeatureEngineering.logger(FeatureEngineering.scala:24)
The text was updated successfully, but these errors were encountered: