【转】查看项目中的struts、spring、hibernate 版本的方法

简介:    这是从别人那转来的。http://blog.sina.com.cn/s/blog_7725bc930100sk9c.html 如下:     1. struts的版本信息 查看 struts.

   这是从别人那转来的。http://blog.sina.com.cn/s/blog_7725bc930100sk9c.html

如下:

    1. struts的版本信息

查看 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


3.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

目录
相关文章
|
8天前
|
网络协议 Java Shell
java spring 项目若依框架启动失败,启动不了服务提示端口8080占用escription: Web server failed to start. Port 8080 was already in use. Action: Identify and stop the process that’s listening on port 8080 or configure this application to listen on another port-优雅草卓伊凡解决方案
java spring 项目若依框架启动失败,启动不了服务提示端口8080占用escription: Web server failed to start. Port 8080 was already in use. Action: Identify and stop the process that’s listening on port 8080 or configure this application to listen on another port-优雅草卓伊凡解决方案
40 7
|
2月前
|
JSON 前端开发 Java
|
2月前
|
存储 JSON 前端开发
【Spring项目】表白墙,留言板项目的实现
本文主要介绍了表白墙项目的实现,包含前端和后端代码,以及测试
|
2月前
|
缓存 前端开发 Java
【Spring】——SpringBoot项目创建
SpringBoot项目创建,SpringBootApplication启动类,target文件,web服务器,tomcat,访问服务器
|
3月前
|
存储 运维 安全
Spring运维之boot项目多环境(yaml 多文件 proerties)及分组管理与开发控制
通过以上措施,可以保证Spring Boot项目的配置管理在专业水准上,并且易于维护和管理,符合搜索引擎收录标准。
79 2
|
Java Spring 容器
Struts2与Spring整合
Struts2学习笔记——Struts2与Spring整合 Struts2与Spring整合后,可以使用Spring的配置文件applicationContext.xml来描述依赖关系,在Struts2的配置文件struts.xml来使用Spring创建的bean。
853 0
|
Java Spring
spring struts 整合
1.web.xml中配置 struts-config.xml(用于管理action(servlet) 与 actionForm(管理对象属性))      action   org.apache.
785 0
|
Java Spring 容器
struts2 spring3 整合
引用:http://zhidao.baidu.com/question/202722977.html&__bd_tkn__=72f94b652a368d3a1519bd49e38a3afe8301dfaa8078338d51fed8133ea5c69d362ad36bb4bcda3b39bb3949...
987 0
|
29天前
|
XML Java 应用服务中间件
Spring Boot 两种部署到服务器的方式
本文介绍了Spring Boot项目的两种部署方式:jar包和war包。Jar包方式使用内置Tomcat,只需配置JDK 1.8及以上环境,通过`nohup java -jar`命令后台运行,并开放服务器端口即可访问。War包则需将项目打包后放入外部Tomcat的webapps目录,修改启动类继承`SpringBootServletInitializer`并调整pom.xml中的打包类型为war,最后启动Tomcat访问应用。两者各有优劣,jar包更简单便捷,而war包适合传统部署场景。需要注意的是,war包部署时,内置Tomcat的端口配置不会生效。
233 17
Spring Boot 两种部署到服务器的方式
|
29天前
|
Dart 前端开发 JavaScript
springboot自动配置原理
Spring Boot 自动配置原理:通过 `@EnableAutoConfiguration` 开启自动配置,扫描 `META-INF/spring.factories` 下的配置类,省去手动编写配置文件。使用 `@ConditionalXXX` 注解判断配置类是否生效,导入对应的 starter 后自动配置生效。通过 `@EnableConfigurationProperties` 加载配置属性,默认值与配置文件中的值结合使用。总结来说,Spring Boot 通过这些机制简化了开发配置流程,提升了开发效率。
61 17
springboot自动配置原理

热门文章

最新文章