Where is javax.annotation

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

    Not sure if this is still relevant, but for Java 8, I had to add the two following Maven dependencies in order to get javax.annotation.concurrent.ThreadSafe to work:

        
            javax.annotation
            javax.annotation-api
            1.3.2
        
    
        
            com.google.code.findbugs
            jsr305
            3.0.0
         
    

提交回复
热议问题