Skip to content

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

@gissuebot

Description

@gissuebot

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions