且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

是否有共享AnnotationUtils像库? (JAVA)

更新时间:2023-01-01 22:00:56

随着春天的2.5.6版本,这是可以使用的spring.jar(2.8 MB)的依赖。随着3.0版本,这是不可能的。相反,你必须添加依赖核心,豆类,背景,ASM和前pression模块作为最低限度,以启动容器。

With version 2.5.6 of Spring, it was possible to use spring.jar (2.8 MB) as dependency. With version 3, that's not possible. Instead you have to add dependency to the core, beans, context, asm and expression module as a minimum to start the container.

既然你只有 AnnotationUtils 类,它足以与核心模块。

Since you only the AnnotationUtils class, it's sufficient with the core module. You can find the Ivy and Maven element together with a download link here:

http://www.springsource.com/repository/app/search?查询= AnnotationUtils

它的大小为350 KB与阿帕奇共享郎2.4 258 KB。

Its size is 350 KB versus Apache Commons Lang 2.4 on 258 KB.