Closed acmeguy closed 10 years ago
I saw this before after upgrading from Play 2.1 to 2.2 - for me it had to do something with the jars/compiled classes in my path and a wrong Scala version.
Can you recall what you did to fix it?
is there an issue with Java 1.7 og Scala 2.10 ?
Can you tell me what Java, Scala, Play version works for you?
There is nothing here!: http://joscha.github.com/play-easymail/repo/snapshots/
Only older versions here: http://joscha.github.com/play-easymail/repo/
I have got Java 1.6 and the standard play 2.1.x download.
The play-easymail repo has only an index.html under /repo/ not under snapshots and releases - the files are still there, though. Your problem is with play cache, have a look if this helps you:
https://github.com/ionflamme/play-authenticate/commit/2db528dc75787bb60cbb7688b20bf20aa11a1b51 (the exclude("org.scala-stm", "scala-stm_2.10.0")
part)
I'm running Java 1.7.0_45, play 2.2.1, Scala 2.10.2.
I got the same error but was able to successfully run and build by going back a few commits (b33eae8 worked for me). It looks like everything broke when the version was bumped to 0.5.2-snapshot or the Github oauth plugin was added.
I am running play 2.2.1 built with Scala 2.10.2 (running Java 1.6.0_65). I changed plugins.sbt
to
and it compiled properly.
Forcing the version didn't work for me, needed to downgrade to 2.2.0. It compiles after this.
@chaschev I am seeing the same now - recompiling didn't help - it seems as if the cache
dependency is the problem, however it seems to be in the repo...
@joscha I don't have a slightest idea of what that could be. Had been hairpulling for an hour or so and then after downgrade it magically worked.
I looked into this more - I think it's either the deadbolt2 dependency (@schaloner, do you know if deadbolt2 works with 2.2.1?) or the typesafe mailer that causes this (@jroper, do you know if the typesafe mailer works with 2.2.1?)
It seems to work when I build via sbt
instead of using the play
binary...
Version 2.2.0 of the mailer plugin should work with all 2.2.x versions of Play.
can anybody confirm it works with sbt
but not using the play
binary?
@chaschev @acmeguy @minhongrails @mgeeforce changing the dep for deadbolt seems to fix the problem for me, can you please test this:
exchange
"be.objectify" %% "deadbolt-java" % "2.2-RC2",
with
"be.objectify" %% "deadbolt-java" % "2.2-RC2" exclude("com.typesafe.play", "play-cache_2.10"),
@joscha yes, worked for me
Hi,
I'm trying to run the sample usage application with Play 2.2.1 and get the following error:
error sbt.ResolveException: unresolved dependency: com.typesafe.play#play-cache_2.10;2.2.1: configuration not found in com.typesafe.play#play-cache_2.10;2.2.1: 'master'. It was required from com.feth#play-authenticate_2.10;0.5.2-SNAPSHOT compile
Can you please tell me what I'm doing wrong?
Regards, -Stefan