読者です 読者をやめる 読者になる 読者になる

謎言語使いの徒然

適当に気になった技術や言語を流すブログ。

git しとけばよかった

日記

途中でビルド壊れて状況が戻せなくなるとかどんなドジ踏んでるんだ僕は

4/1 追記

Pac4J が現時刻(23時)の公式サイトの記述で下記のエラーを出すようになった。

play.api.Application$$anon$1: Execution exception[[RuntimeException: java.lang.NoSuchMethodError: org.pac4j.core.client.Client.getRedirectionUrl(Lorg/pac4j/core/context/WebContext;ZZ)Ljava/lang/String;]]
        at play.api.Application$class.handleError(Application.scala:293) ~[play_2.10.jar:2.2.2]
        at play.api.DefaultApplication.handleError(Application.scala:399) [play_2.10.jar:2.2.2]
        at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$12$$anonfun$apply$1.applyOrElse(PlayDefaultUpstreamHandler.scala:165) [play_2.10.jar:2.2.2]
        at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$12$$anonfun$apply$1.applyOrElse(PlayDefaultUpstreamHandler.scala:162) [play_2.10.jar:2.2.2]
        at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:33) [scala-library.jar:na]
        at scala.util.Failure$$anonfun$recover$1.apply(Try.scala:185) [scala-library.jar:na]
Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodError: org.pac4j.core.client.Client.getRedirectionUrl(Lorg/pac4j/core/context/WebContext;ZZ)Ljava/lang/String;
        at play.api.mvc.ActionBuilder$$anon$1.apply(Action.scala:314) ~[play_2.10.jar:2.2.2]
        at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4$$anonfun$apply$5.apply(Action.scala:109) ~[play_2.10.jar:2.2.2]
        at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4$$anonfun$apply$5.apply(Action.scala:109) ~[play_2.10.jar:2.2.2]
        at play.utils.Threads$.withContextClassLoader(Threads.scala:18) ~[play_2.10.jar:2.2.2]
        at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4.apply(Action.scala:108) ~[play_2.10.jar:2.2.2]
        at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4.apply(Action.scala:107) ~[play_2.10.jar:2.2.2]
Caused by: java.lang.NoSuchMethodError: org.pac4j.core.client.Client.getRedirectionUrl(Lorg/pac4j/core/context/WebContext;ZZ)Ljava/lang/String;
        at org.pac4j.play.scala.ScalaController$class.org$pac4j$play$scala$ScalaController$$getRedirectionUrl(ScalaController.scala:150) ~[play-pac4j_scala-1.2.0-SNAPSHOT.jar:na]
        at org.pac4j.play.scala.ScalaController$class.getRedirectionUrl(ScalaController.scala:115) ~[play-pac4j_scala-1.2.0-SNAPSHOT.jar:na]
        at controllers.Application$.getRedirectionUrl(Application.scala:10) ~[classes/:na]
        at controllers.Application$$anonfun$loginWithFacebook$1.apply(Application.scala:51) ~[classes/:na]
        at controllers.Application$$anonfun$loginWithFacebook$1.apply(Application.scala:44) ~[classes/:na]
        at play.api.mvc.ActionBuilder$$anonfun$apply$10.apply(Action.scala:221) ~[play_2.10.jar:2.2.2]

何かと思って jar の中身調べたら、バージョン番号変わってないのに、こっそり関数仕様とか IF とか変わってた。

枯れてない、、、、てか SNAPSHOT の時点である意味文句は言えないけど…