[Eclipse]-integrated tomcat hot Load Plugin

Source: Internet
Author: User

With Eclipse + tomcat, the Tomcat WebApp will always be restarted to use hot loading.

You can use this plugin: Jrebel

In the case of the Tomcat 7.0+ version, you need to use the jrebel5.5.1+ version, or you will always report some errors.

How to use:

1) Download Jrebel 5.5.1+

2) Right-click Project, select:

3) Find "VM arguments":

Fill in the Inside:

-dcatalina.base= "E:\JavaProject\.metadata\.plugins\org.eclipse.wst.server.core\tmp0"-dcatalina.home= "d:\ Program files\apache-tomcat-7.0.54 "-dwtp.deploy=" E:\JavaProject\.metadata\.plugins\org.eclipse.wst.server.core\ Tmp0\wtpwebapps "-djava.endorsed.dirs=" D:\Program files\apache-tomcat-7.0.54\endorsed "-noverify-javaagent  : F: \tools\java\jrebel\jrebel. Jar-drebel. dirs=e:\javaproject\obs\webcontent\web-inf\classes-drebel. spring_plugin=  True-drebel. struts2-plugin=true

Description

-noverify: Unzip the Jrebel.jar file address

-drebel.dirs: Classes address for Project compilation

-drebel.spring_plugin: Using spring, set to True

-drebel.struts2-plugin: Using struts, set to True

4) Disable the Eclipse Tomcat enable auto-load feature to prevent it from always restarting Tomcat automatically

OK, now modify a Java method, save try. ^o^

[Eclipse]-integrated tomcat hot Load Plugin

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.