you're using guava, right? I found a SO post that said updating the library dependency fixed the problem, or there is a conflict between guava versions in your dependencies. you can try excluding the guava classpath in the other dependencies and keep the one you want.