Hello community,
Though this is not related not directly to Scala language, I’m looking for a hlep with my problem: I tried to create a server with Scrooge (Thrift for Scala) + Finagle from :
https://github.com/twitter/finagle/blob/develop/finagle-example/src/main/scala/com/twitter/finagle/example/thrift/ThriftServer.scala
I have this error I’m stuck with:
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
With build.sbt:
name := “hello”
version := “0.1”
scalaVersion := “2.13.8”
lazy val root = (project in file("."))
.settings(
name := “Example”,
libraryDependencies ++= Seq(
“org.apache.thrift” % “libthrift” % “0.15.0”,
“com.twitter” %% “scrooge-core” % “21.12.0”,
“com.twitter” %% “finagle-thrift” % “21.12.0”,
“org.slf4j” % “slf4j-api” % “1.7.5”,
)
)
And the plugins.sbt:
addSbtPlugin(“com.typesafe.sbt” % “sbt-native-packager” % “1.3.4”)
addSbtPlugin(“com.eed3si9n” % “sbt-assembly” % “0.15.0”)
addSbtPlugin(“com.twitter” % “scrooge-sbt-plugin” % “21.12.0”)
What is slf4j ? Why this error ?
Thank you for your help,
Best regards