Class not found: javax.annotation.Nullable

1,909 views
Skip to first unread message

tern...@gmail.com

unread,
Oct 5, 2015, 7:27:20 AM10/5/15
to SonarQube
Hello,

I've got multiple errors during sonar analysis:

[ERROR] [11:49:08.871] Class not found: javax.annotation.Nullable
[ERROR] [11:49:08.877] Class not found: javax.annotation.CheckReturnValue

I've checked javax.annotation as suggested here: http://stackoverflow.com/questions/31528033/sonarqube-class-not-found-during-main-ast-scan

$ pwd

/usr/lib/jvm/java-7-oracle/lib/missioncontrol/plugins# pwd /usr/lib/jvm/java-7-oracle/lib/missioncontrol/plugins 

# ls | grep annotation
javax.annotation_1.2.0.v201401042248.jar

Can you please advise me how to fix these errors?

Thanks

Michel Pawlak

unread,
Oct 5, 2015, 8:00:25 AM10/5/15
to SonarQube, tern...@gmail.com

vineelbhara...@gmail.com

unread,
Feb 5, 2016, 12:52:52 PM2/5/16
to SonarQube, tern...@gmail.com
Hello,

can you please update me on this jar file Did sonar qube find solution for this in new version of java or still we need to depend  on findbugs dependency jsr305.

thanks !

Nicolas Peru

unread,
Feb 8, 2016, 4:24:49 AM2/8/16
to vineelbhara...@gmail.com, SonarQube, tern...@gmail.com
Hi, 
Nothing has changed technically on this.
just to let you know that as this message is rather confusing, as such, we will handle this with the following ticket: https://jira.sonarsource.com/browse/SONARJAVA-1519

Cheers, 

--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/a9f9ca5c-b6ac-47a9-b250-7b26e4c830ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

vineelbhara...@gmail.com

unread,
Feb 8, 2016, 12:07:16 PM2/8/16
to SonarQube, vineelbhara...@gmail.com, tern...@gmail.com
Hi Nicolas,

am pasting the error just for your reference which might help 

 [ERROR] [11:10:25.765] Class not found: javax.annotation.Nullable
[ERROR] [11:10:29.081] Class not found: javax.annotation.Nullable


Thanks !

Scott B.

unread,
Feb 8, 2016, 12:14:37 PM2/8/16
to SonarQube, vineelbhara...@gmail.com, tern...@gmail.com
Hi.

If it is not clear: in this case you can safely ignore this error.
Reply all
Reply to author
Forward
0 new messages