Problem
Project -> Properties -> Java Build Path -> Libraries -> Add Variable does not show neither JSR305_ANNOTATIONS nor FINDBUGS_ANNOTATIONS variables.
Similar issue: #379
Version
SpotBugs 4.7.3
Error Log
!ENTRY com.github.spotbugs.plugin.eclipse 4 0 2023-07-14 22:01:48.754
!MESSAGE Library not found in plugin: /lib/spotbugs-annotations-4.7.3.jar
!ENTRY com.github.spotbugs.plugin.eclipse 4 0 2023-07-14 22:01:48.756
!MESSAGE Unable to find path for variable: FINDBUGS_ANNOTATIONS
!ENTRY com.github.spotbugs.plugin.eclipse 4 0 2023-07-14 22:01:48.759
!MESSAGE Library not found in plugin: /lib/jsr305-3.0.1.jar
!ENTRY com.github.spotbugs.plugin.eclipse 4 0 2023-07-14 22:01:48.761
!MESSAGE Unable to find path for variable: JSR305_ANNOTATIONS
Expected jar filename
com.github.spotbugs.plugin.eclipse_4.7.3.r202210170504-fa9e53a.jar
- /lib/spotbugs-annotations.jar
- /lib/jsr305-3.0.2.jar
Actual jar filename
|
private static final String FINDBUGS_LIBRARY = "/lib/spotbugs-annotations-" + Version.VERSION_STRING + ".jar"; |
|
|
|
private static final String JSR305_LIBRARY = "/lib/jsr305-3.0.1.jar"; |
Problem
Project -> Properties -> Java Build Path -> Libraries -> Add Variable does not show neither JSR305_ANNOTATIONS nor FINDBUGS_ANNOTATIONS variables.
Similar issue: #379
Version
SpotBugs 4.7.3
Error Log
Expected jar filename
com.github.spotbugs.plugin.eclipse_4.7.3.r202210170504-fa9e53a.jar
Actual jar filename
spotbugs/eclipsePlugin/src/de/tobject/findbugs/AnnotationClasspathInitializer.java
Lines 23 to 25 in 331cfe9