Skip to content
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

Scala: Document that jsr305 is needed to compile against guava #1127

Closed
gissuebot opened this issue Oct 31, 2014 · 2 comments
Closed

Scala: Document that jsr305 is needed to compile against guava #1127

gissuebot opened this issue Oct 31, 2014 · 2 comments

Comments

@gissuebot
Copy link

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.

@gissuebot
Copy link
Author

Original comment posted by cpovirk@google.com on 2012-08-30 at 02:51 PM


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.


Status: Accepted

@gissuebot
Copy link
Author

Original comment posted by cpovirk@google.com on 2012-08-30 at 03:02 PM


(No comment entered for this change.)


Status: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant