1、查看项目中spring版本:
首先,找到项目中jar包的引入位置,将spring.jar包拷到其他不影响项目的位置,比如,我拷到了桌面位置。
然后,右键spring.jar包,选择打开方式,选择解压缩方式[此处同解压文件一样的步骤],然后在解压后的文件依次打开文件夹顺序:
Meta-INF/MANIFEST.MF,显示信息如下:[
Implementation-Version: 2.0.8
2、查看项目中structs版本:
打开步骤同上,
Manifest-Version: 1.0Created-By: Apache Ant 1.5.1Extension-Name: Struts FrameworkSpecification-Title: Struts FrameworkSpecification-Vendor: Apache Software FoundationSpecification-Version: 1.1Implementation-Title: Struts FrameworkImplementation-Vendor: Apache Software FoundationImplementation-Vendor-Id: org.apacheImplementation-Version: 1.1Class-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.0Ant-Version: Apache Ant 1.6.5Created-By: 1.4.2_09-b05 (Sun Microsystems Inc.)Name: javax/servlet/Specification-Title: Java API for ServletsSpecification-Version: 2.4Specification-Vendor: Sun Microsystems,Inc.Implementation-Title: javax.servletImplementation-Version: 2.4.public_draftImplementation-Vendor: Apache Software Foundation