java.lang.NoSuchMethodError: akka.stream.impl.ConstantFun$.scalaAnyTwoToNone()Lscala/Function2;

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by ac2epsilon
, 1 year ago
akka.stream.impl.ConstantFun$.scalaAnyTwoToNone()Lscala/Function2;
java.lang.NoSuchMethodError: akka.stream.impl.ConstantFun$.scalaAnyTwoToNone()Lscala/Function2;
at akka.http.impl.model.parser.HeaderParser$.Settings$default$3(HeaderParser.scala:178)
at akka.http.impl.model.parser.HeaderParser$.(HeaderParser.scala:194)
at akka.http.impl.model.parser.HeaderParser$.(HeaderParser.scala)
at akka.http.scaladsl.model.headers.ProductVersion$.parseMultiple(ProductVersion.scala:31)
at akka.http.scaladsl.model.headers.User$minusAgent$.apply(headers.scala:903)
at akka.http.impl.settings.ClientConnectionSettingsImpl$$anonfun$fromSubConfig$1.apply(ClientConnectionSettingsImpl.scala:40)
at akka.http.impl.settings.ClientConnectionSettingsImpl$$anonfun$fromSubConfig$1.apply(ClientConnectionSettingsImpl.scala:40)
at scala.Option.map(Option.scala:146)
at akka.http.impl.settings.ClientConnectionSettingsImpl$.fromSubConfig(ClientConnectionSettingsImpl.scala:40)
at akka.http.impl.settings.ConnectionPoolSettingsImpl$.fromSubConfig(ConnectionPoolSettingsImpl.scala:44)
at akka.http.impl.settings.ConnectionPoolSettingsImpl$.fromSubConfig(ConnectionPoolSettingsImpl.scala:35)
at akka.http.impl.util.SettingsCompanion.apply(SettingsCompanion.scala:47)
at akka.http.scaladsl.settings.ConnectionPoolSettings$.apply(ConnectionPoolSettings.scala:48)
at akka.http.scaladsl.settings.ConnectionPoolSettings$.apply(ConnectionPoolSettings.scala:47)
at akka.http.scaladsl.settings.SettingsCompanion$class.apply(SettingsCompanion.scala:16)
at akka.http.scaladsl.settings.ConnectionPoolSettings$.apply(ConnectionPoolSettings.scala:47)
at akka.http.scaladsl.HttpExt.(Http.scala:49)
at akka.http.scaladsl.Http$.createExtension(Http.scala:785)
at akka.http.scaladsl.Http$.createExtension(Http.scala:661)
at akka.actor.ActorSystemImpl.registerExtension(ActorSystem.scala:745)
at akka.actor.ExtensionId$class.apply(Extension.scala:79)
at akka.http.scaladsl.Http$.apply(Http.scala:780)
at undefined.WebServer$.main(WSServer.scala:29)
at undefined.WebServer.main(WSServer.scala)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)

Users with the same issue

2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.