MAVEN Configuration omitted
jrebel configuration Jrebel do not need cumbersome configuration, the jrebel-5.6.3-crack.zip decompression on the disk directory can be. (The author path is:D:\coding-life\IDE\jrebel\jrebel-5.6.3-crack) The path subsequent need to refer to the
Eclipse Configuration
- Open menu Run > Debug configurations ...
- Find Maven Build, create a new MAVEN command configuration,
The new related panel configuration is as follows (name can be customized, I named Insurance-jetty):
${project_loc} is a configuration parameter for Eclipse, which is the Jetty:run command to perform maven on the path of the currently selected project
Skip Test indicates that the startup project is skipping test instance tests
Resolve Workspace artifacts indicates that in the pom dependency, if there is a dependency on the workspace, the 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 deployments where the project's dependent project classes in the workspace are modified)
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 dependent on the dependency of the Child project maven;
-javaagent: followed by Jrebel.jar's storage path, special symbols such as Chinese, white space, and decimal are not allowed in the path
-drebel.spring_plugin=true indicates that the default is true to initiate support for spring hot deployment
-drebel.struts2-plugin=true indicates that the default is false for initiating support for STRUTS2 hot deployment, and if SPRINGMVC is used, the item can be configured
The final memory configuration needs to be configured according to the respective configuration
Common Configuration
Select Debug to indicate that you can select the configuration button directly in the Debug button drop-down of the toolbar, or tick run if you need to see the button in run. Effects such as:
start the project, Modify a Java file, save, see the representative configuration succeeded
Eclipse+maven (WebApp) +jetty+jrebel configuration method