如何查看开发项目框架的版本信息

1、查看项目中spring版本:

首先,找到项目中jar包的引入位置,将spring.jar包拷到其他不影响项目的位置,比如,我拷到了桌面位置。

然后,右键spring.jar包,选择打开方式,选择解压缩方式[此处同解压文件一样的步骤],然后在解压后的文件依次打开文件夹顺序:

         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、查看项目中structs版本:

     打开步骤同上,

        Manifest-Version: 1.0
Created-By: Apache Ant 1.5.1
Extension-Name: Struts Framework
Specification-Title: Struts Framework
Specification-Vendor: Apache Software Foundation
Specification-Version: 1.1
Implementation-Title: Struts Framework
Implementation-Vendor: Apache Software Foundation
Implementation-Vendor-Id: org.apache
Implementation-Version: 1.1
Class-Path:  commons-beanutils.jar commons-collections.jar commons-dig
  ester.jar commons-logging.jar commons-validator.jar jakarta-oro.jar s
  truts-legacy.jar

3、查看项目中servelets版本:

       打开步骤同上,

        Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.5
Created-By: 1.4.2_09-b05 (Sun Microsystems Inc.)
Name: javax/servlet/
Specification-Title: Java API for Servlets
Specification-Version: 2.4
Specification-Vendor: Sun Microsystems, Inc.
Implementation-Title: javax.servlet
Implementation-Version: 2.4.public_draft
Implementation-Vendor: Apache Software Foundation


  • 3
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值