1
I am using JDK 8 and I need to use the library javax.annotation.Nullable
, but the eclipse returns an error saying that there is no..
Does anyone know how to get it or what version of JDK contains this library?
1
I am using JDK 8 and I need to use the library javax.annotation.Nullable
, but the eclipse returns an error saying that there is no..
Does anyone know how to get it or what version of JDK contains this library?
2
This class does not belong to Java 8. Therefore, you need a dependency external to may have it available in your project.
If you are using Maven, you can add her this way:
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
</dependency>
that I would put in my source code?
@Adryanalencar, do you use Maven? Have a file pom.xml
in your project? If not using, you need the file jar
inside your project directory (usually in the folder lib
).
Sorry, I don’t know what it is
@Adryanalencar, do you have a site in your project with some libraries (multiple JAR files)? You can download this JAR from Findbugs and put there.
Browser other questions tagged java
You are not signed in. Login or sign up in order to post.
Check on configured Jres if you are actually using JDK8. Window Menu > Preferences > Installed Jres.
– Giuliana Bezerra