Exception in thread, NoSuchMethodError, when signing up

144 views
Skip to first unread message

Ross Anthony

unread,
Mar 20, 2016, 9:13:13 PM3/20/16
to Silhouette
Does anyone have any clues as to why I might be experiencing the following error when trying to Signup? 

I followed the angular seed implementation with JWT, using the DAO models from the Slick example to persist the user info to db (although i've tried it with the models straight out of the angular seed example as well and get the same error).

Exception in thread "ForkJoinPool-1-worker-4" java.lang.NoSuchMethodError: play.api.libs.functional.syntax.package$.functionalCanBuildApplicative(Lplay/api/libs/functional/Applicative;)Lplay/api/libs/functional/FunctionalCanBuild;
 at com
.mohiva.play.silhouette.api.LoginInfo$.<init>(LoginInfo.scala:38)
 at com
.mohiva.play.silhouette.api.LoginInfo$.<clinit>(LoginInfo.scala)
 at com
.mohiva.play.silhouette.impl.authenticators.JWTAuthenticator$.serialize(JWTAuthenticator.scala:93)
 at com
.mohiva.play.silhouette.impl.authenticators.JWTAuthenticatorService$$anonfun$init$4.apply(JWTAuthenticator.scala:285)
 at com
.mohiva.play.silhouette.impl.authenticators.JWTAuthenticatorService$$anonfun$init$4.apply(JWTAuthenticator.scala:284)
 at scala
.util.Success$$anonfun$map$1.apply(Try.scala:237)
 at scala
.util.Try$.apply(Try.scala:192)
 at scala
.util.Success.map(Try.scala:237)
 at scala
.concurrent.Future$$anonfun$map$1.apply(Future.scala:235)
 at scala
.concurrent.Future$$anonfun$map$1.apply(Future.scala:235)
 at scala
.concurrent.impl.CallbackRunnable.run(Promise.scala:32)
 at java
.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1402)
 at java
.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
 at java
.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
 at java
.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
 at java
.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)

The issue seems to be traceable to line 68 in the SignUpController...

token <- env.authenticatorService.init(authenticator)

But I'm not entirely sure what is wrong in my implementation, as far as I can tell everything required has been copied verbatim from the angular seed example repo.

Any help would be greatly appreciated.






Aaron Patzer

unread,
May 19, 2016, 2:35:26 PM5/19/16
to Silhouette
I have the same issue. Did you ever figure this one out?
Reply all
Reply to author
Forward
0 new messages