I was trying to use the jira-rest-java-client provided by Atlassian in a Scala program I am developing. I am using Eclipse as my IDE.
When I have an object of type Issue and I try to look at the properties I see there are far fewer properties than are declared in the Java code.
I thought perhaps this was just Eclipse not finding all properties/methods of an object so I tried putting Issue.getSummary() and doing an sbt compile. The compile showed me this error:
Missing dependency 'class javax.annotation.Nullable'
Any ideas?
I found the answer in this issue on googlecode: http://code.google.com/p/guava-libraries/issues/detail?id=1095. To correct the problem in sbt you need to add this dependency:
"com.google.code.findbugs" % "jsr305" % "1.3.+"