Missing dependency 'class javax.annotation.Nullable' #1095

Closed
gissuebot opened this Issue Oct 31, 2014 · 1 comment

Comments

Projects
None yet
1 participant
Collaborator

gissuebot commented Oct 31, 2014

Original issue created by gerd.riesselmann on 2012-08-03 at 08:46 PM


I get the following error when using the 13.0 jar from Maven repositories against Scala 2.9.2:

error while loading Cache, Missing dependency 'class javax.annotation.Nullable', required by ..../scala_2.9.2/compile/guava-13.0.jar(com/google/common/cache/Cache.class)

It works with 12.0.1

Collaborator

gissuebot commented Nov 1, 2014

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


See this thread for some discussion:

https://groups.google.com/d/msg/guava-discuss/LV0oLNFpnAU/pp40shiiBKMJ

Scala requires annotation classes to be present, contrary to the way they were designed.

"This is due to the Scala compiler, which needs all of the artifacts left in the byte-code."

"I was able to work around the problem by adding "com.google.code.findbugs" % "jsr305" % "1.3.+" in my list of dependencies."


Status: WorkingAsIntended

gissuebot closed this Nov 1, 2014

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