Where is javax.annotation

后端 未结 4 1434
没有蜡笔的小新
没有蜡笔的小新 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:12

    The dependency including version:

    
        javax.annotation
        javax.annotation-api
        1.3.2
    
    

    See: http://mvnrepository.com/artifact/javax.annotation/javax.annotation-api

    Or for the newerjakarta.annotation:

    
       jakarta.annotation
       jakarta.annotation-api
       1.3.5
    
    

    See: https://mvnrepository.com/artifact/jakarta.annotation/jakarta.annotation-api

    The Java Common Annotations Module java.xml.ws.annotation was deprecated in Java version 9 and was removed in java version 11. If this leads to a problem you could try to add javax.annotation.

    The Javadocs for Java 8 can be found here: http://docs.oracle.com/javase/8/docs/api/javax/annotation/package-summary.html

提交回复
热议问题