教程针对如下框架,开发工具,插件包整理
1. eclipse3.7版本
2. Apache-tomcat-6.0.18
3. jrebel eclipse 插件离线包(update-site).zip
4. jrebel.jar
5. 项目框架struts2+spring+ibatis+freemarker
1.安装jrebel eclipse 插件
点击next直到finish
2.修改jrebel.jar
3.配置tomcat6.0
Window-Perferences-Server-Runtime Environments-Add-Apache Tomcat v6.0选择好tomcat路径,jre。完成安装
Window-Show View-Other-Server之后
Drebel.dirs=E:\eclipse_workspace\eclipse3.2_workspace\base\build\classes,E:\eclipse_workspace\eclipse3.2_workspace\base\WebContent 修改之后自动加载的class目录和webcontext路径
-Drebel.spring_plugin=true 支持spring自动加载
-Drebel.ibatis_plugin=true 支持ibatis自动加载
-Drebel.struts2-plugin=true 支持struts2自动加载
注意点:
此项必须打勾
教程到此。以上配置完成后,在开发过程中基本上不用繁琐的重启tomcat了。
myeclipse和eclipse配置稍不同,myeclipse的教程后期出。
教程打包下载:http://pan.baidu.com/share/link?shareid=143908&uk=2165194896
本文介绍如何在Eclipse 3.7环境下通过JRebel插件实现Tomcat 6.0上的热部署,涵盖JRebel安装配置及支持Spring、iBatis、Struts2等框架的自动加载。








1148

被折叠的 条评论
为什么被折叠?



