查看spring的版本在网上搜到的方法如下:
使用winrar打开spring.jar包,可以看到有两个目录:
org
META-INF
选择META-INF目录,打开目录下名为MANIFEST.MF的文件。找到如下片段:
Implementation-Title: Spring Framework
Spring-Version: 2.5.6
Implementation-Version: 2.5.6
Bundle-Name: Spring Framework
Created-By: 10.0-b23 (Sun Microsystems Inc.)
Ant-Version: Apache Ant 1.7.0
Bundle-Vendor: SpringSource
Bundle-Version: 2.5.6
Bundle-ManifestVersion: 2
Bundle-SymbolicName: org.springframework