You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It cost me an hour of work to find the problem and it's solution.
Maybe you can give a hint in the README for the Scala users.
I think changing the jsr305-dep from the scope "provided" to "compile" should also solve the problem with scalac.
The text was updated successfully, but these errors were encountered:
This is issue 1095, but we should at leastupdate the docs. I thought we'd done this on <http://code.google.com/p/guava-libraries/wiki/UseGuavaInYourBuild>, but it turns out that we documented only that you need to declare the dependency if you use jsr305. The Scala question has come up often enough that we should document it to.
Original issue created by bernhardberger345 on 2012-08-30 at 07:58 AM
Scala doesn't compile a project that is using Guava because of a missing jsr305 dependency.
See http://stackoverflow.com/questions/10007994/why-do-i-need-jsr305-to-use-guava-in-scala for a detailed description. I also run into this problem with Guava 13.0.1.
It cost me an hour of work to find the problem and it's solution.
Maybe you can give a hint in the README for the Scala users.
I think changing the jsr305-dep from the scope "provided" to "compile" should also solve the problem with scalac.
The text was updated successfully, but these errors were encountered: