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

Finatra 1.5.4 java.lang.RuntimeException with Finagle 6.22.0 #172

Closed
michiroth opened this Issue Oct 23, 2014 · 1 comment

Comments

1 participant
@michiroth

michiroth commented Oct 23, 2014

Hi all,

we are using the following libraryDependencies within our Finatra project:

libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "2.2.2" % "test",
"com.twitter" % "scalatest-mixins_2.9.1" % "1.1.0" % "test",
"com.twitter" %% "finatra" % "1.5.4",
"com.twitter" %% "finagle-thriftmux" % "6.22.0"
)

Trying to run the project within sbt throws the following RuntimeException:

error java.lang.NoSuchMethodError: com.twitter.finagle.server.DefaultServer.(Ljava/lang/String;Lcom/twitter/finagle/server/Listener;Lscala/Function2;Lcom/twitter/util/Duration;IZLscala/Function1;Lcom/twitter/util/Timer;Lcom/twitter/util/Monitor;Ljava/util/logging/Logger;Lcom/twitter/finagle/stats/StatsReceiver;Lcom/twitter/finagle/tracing/Tracer;Lcom/twitter/finagle/util/ReporterFactory;)V
java.lang.NoSuchMethodError: com.twitter.finagle.server.DefaultServer.(Ljava/lang/String;Lcom/twitter/finagle/server/Listener;Lscala/Function2;Lcom/twitter/util/Duration;IZLscala/Function1;Lcom/twitter/util/Timer;Lcom/twitter/util/Monitor;Ljava/util/logging/Logger;Lcom/twitter/finagle/stats/StatsReceiver;Lcom/twitter/finagle/tracing/Tracer;Lcom/twitter/finagle/util/ReporterFactory;)V
at com.twitter.finatra.FinatraServer$HttpServer$2$.(FinatraServer.scala:106)
at com.twitter.finatra.FinatraServer.com$twitter$finatra$FinatraServer$$HttpServer$1$lzycompute(FinatraServer.scala:106)
at com.twitter.finatra.FinatraServer.com$twitter$finatra$FinatraServer$$HttpServer$1(FinatraServer.scala:106)
at com.twitter.finatra.FinatraServer.startHttpServer(FinatraServer.scala:110)
java.lang.RuntimeException: Nonzero exit code: 1
at scala.sys.package$.error(package.scala:27)
at sbt.BuildCommon$$anonfun$toError$1.apply(Defaults.scala:1653)
at sbt.BuildCommon$$anonfun$toError$1.apply(Defaults.scala:1653)
at scala.Option.foreach(Option.scala:236)

Are there any future plans to update Finatra to Finagle 6.22.0?

Many greets
Michael

@michiroth

This comment has been minimized.

michiroth commented Nov 10, 2014

See #176.

@michiroth michiroth closed this Nov 10, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment