查看现有项目的struts和hibernate和spring版本
1. 查看 struts.jar/META-INF/MANIFEST.MF
再查看 Implementation-Version
看后面的数字..
Manifest-Version: 1.0
Specification-Title: Struts Framework
Class-Path: commons-beanutils.jar commons-collections.jar commons-dig
ester.jar commons-fileupload.jar commons-logging.jar commons-validato
r.jar jakarta-oro.jar
Created-By: 1.3.1_04-b02 (Sun Microsystems Inc.)
Ant-Version: Apache Ant 1.6.1
Implementation-Title: Struts Framework
Specification-Version: 1.2.7
Specification-Vendor: The Apache Software Foundation
Implementation-Vendor-Id: org.apache
Extension-Name: Struts Framework
Implementation-Version: 1.2.7
Implementation-Vendor: The Apache Software Foundation
2.Spring的版本信息
查看 Spring.jar/META-INF/MANIFEST.MF
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.5
Created-By: 1.5.0_12-b04 (Sun Microsystems Inc.)
Implementation-Title: Spring Framework
Implementation-Version: 2.0.8
Spring-Version: 2.0.8
Premain-Class: org.springframework.instrument.InstrumentationSavingAgent
2.hibernate3的版本信息
查看 hibernate3.jar/META-INF/MANIFEST.MF
Manifest-Version: 1.0
Created-By: 1.4.2_11-b06 (Sun Microsystems Inc.)
Ant-Version: Apache Ant 1.6.5
Implementation-Title: Hibernate3
Hibernate-Version: 3.2.3.ga
Implementation-Version: 3.2.3.ga
Implementation-Vendor: hibernate.org
原文: http://blog.csdn.net/xiaxiaorui2003/article/details/4582778