java 我在哪里可以下载 common-annotations.jar

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/1016112/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-29 14:48:46  来源:igfitidea点击:

Where can I download common-annotations.jar

javajakarta-ee

提问by objects

Have a Spring 2.5 webapp which runs fine under 1.6, but under 1.5 it can't find PostConstruct class.

有一个 Spring 2.5 webapp,它在 1.6 下运行良好,但在 1.5 下它找不到 PostConstruct 类。

Found the following which suggests I need common-annotations.jar (JSR-250) but cannot find anywhere to download it

发现以下内容表明我需要 common-annotations.jar (JSR-250) 但找不到任何地方下载它

回答by Brian

The reference implementation is available here: http://jcp.org/aboutJava/communityprocess/final/jsr250/index.html

参考实现可在此处获得:http: //jcp.org/aboutJava/communityprocess/final/jsr250/index.html

Reference Implementation (RI) and Technology Compatibility Kit is part of glassfish.

参考实现 (RI) 和技术兼容性工具包是glassfish 的一部分。

In other words, you might end up having to download the GlassFish Application Server just to get the single jar file.

换句话说,您可能最终不得不下载 GlassFish Application Server 来获取单个 jar 文件。