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
java.lang.NoSuchMethodError on com.google.common.io.Closeables.closeQuietly #15129
Comments
Based on the libraries that
Read some information from Google Guava's website (https://code.google.com/p/guava-libraries/issues/list?can=1&q=closeQuietly&colspec=ID+Type+Status+Package+Summary&cells=tiles) suggests that |
Turns out the Akka 2.3.2 is using
as highlighted by this → https://github.com/akka/akka/blob/v2.3.2/project/AkkaBuild.scala It really should be
In the Play 2.3 application's build file |
Are these two versions binary compatible? (given the version numbers I doubt that) Unfortunately we cannot break BC within the 2.3.x series. |
@agourlay , thanks for the referral to that ticket number. Hadn't seen that ticket til now, but i noticed the codebase is as what you said i.e. merged to master. I'm sort of stuck as i can't push the code to trunk as it disrupts our release cycle significantly though i know its already merged to master but i have a workaround so that abates the issue. @rkuhn, still running the tests for my setup over here. But noted on not being able to break BC. At least i have a workaround. |
@rkuhn the tests i've run are mostly persisting and read-back of the data seem ok but i haven't test it extensively (meaning to say code coverage is around 80%); hence i'll wait till a stable release is made. closing this for now. |
This was fixed in master. The reason we have not fixed it in release-2.3 is that we are afraid that changing leveldb version brings in a new version of guava in a subtle way that might break binary compatibility of other parts of the application. |
The workaround is to define the dependency in the application build:
|
Hi @patriknw, thanks for getting back on this issue. Yeah i've discovered that workaround the day i closed this issue and i guessed you guys had a good reason for not releasing it as part of 2.3. |
Added runtime dependency akka-persistence-cassandra 0.3.6
Encountered a NoSuchMethodError when running persistence inside a cluster, here's the stack trace:
The application is not running native LevelDB as i've turned native off
akka.persistence.journal.leveldb.native=off
Application is build using:
Application is packaged using
sbt dist
The text was updated successfully, but these errors were encountered: