您的位置:首页 > 编程语言 > Java开发

如何查看现有项目的struts和hibernate和spring版本

2009-09-23 09:41 609 查看
查看现有项目的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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息