Eclipse+maven (WebApp) +jetty+jrebel configuration method

Source: Internet
Author: User


MAVEN Configuration omitted
jrebel configuration Jrebel do not need cumbersome configuration, the jrebel-5.6.3-crack.zip decompression in the disk folder can be. (The author path is:D:\coding-life\IDE\jrebel\jrebel-5.6.3-crack) The path might need to refer to the
Eclipse Configuration
    • Open menu Run > Debug configurations ...
    • Find the Maven Build. Create a new MAVEN command configuration.



The new related panel configuration such as the following (name can be defined by itself, I named Insurance-jetty):



${project_loc} is a configuration parameter for Eclipse. The Jetty:run command that runs maven on the path to the currently selected project
Skip Test indicates that the startup project is skipping test instance testing
Resolve Workspace artifacts is expressed in the dependence of POM. Assume that there is a dependency on the workspace. Dependencies are found from the workspace without the need to find or download a dependency package from the MAVEN library (a configuration that supports hot deployment of project-dependent project class changes in the workspace)

JRE Configuration

Configuration Description:-noverify
-javaagent:d:\coding-life\ide\jrebel\jrebel-5.6.3-crack\jrebel.jar
-drebel.spring_plugin=true
-drebel.struts2-plugin=true
-xms256m-xmx512m-xx:maxpermsize=256m
-drebel.profile_logfile=d:/jrebel-profile.log
-drebel.dirs=d:\coding-life\workspace\insuranceservice\target\classes

Drebel.dirs is a subproject dependency that Maven relies on.
-javaagent: followed by Jrebel.jar's storage path. The path does not agree to include Chinese, space, decimal points and other special symbols
-drebel.spring_plugin=true indicates that to initiate support for spring hot deployment, the default is True
-drebel.struts2-plugin=true represents support for initiating a struts2 hot deployment. I feel false. Assuming that SPRINGMVC is used, the item can be configured
The last memory configuration needs to be configured according to the respective configuration

Common Configuration


Selecting Debug means that you can select the configuration button directly in the Debugbutton drop-down of the toolbar, assuming you need to see the button in run, or tick run. Effects such as:



start the project and change a Java file. Save, see Representative configuration succeeded




Eclipse+maven (WebApp) +jetty+jrebel configuration method

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.