Where is javax.annotation

后端 未结 4 1466
没有蜡笔的小新
没有蜡笔的小新 2021-01-17 07:24

Ok, so this is probably a NooB question (I\'m more of a C++ guy), but I\'m lost in the java woods and its frameworks forests...

I\'m trying to look into eclipse RCP

4条回答
  •  不思量自难忘°
    2021-01-17 08:23

    In Java version >= 6, you should not need to add them explicitly.
    They are part of the JDK. Just try to skip adding them, maybe
    the list of instructions is outdated.

    Before Java 6, you would have needed to add this jar, I think: jsr250-api-1.0.jar.

    http://central.maven.org/maven2/javax/annotation/jsr250-api/1.0/

    http://download.java.net/maven/2/javax/annotation/jsr250-api/1.0/

提交回复
热议问题