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 the jrebel.jar of the storage path, the path is not allowed to include Chinese, spaces, decimals and other special symbols
-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
Note The following error resolution occurs:
1, Variable references empty selection: ${project_loc}
under the Project menu, choose Clean, select Clean projects selected below in the pop-up box, then select the project with the problem and click OK. But even then, there may be clean more than once before the problem is solved.
my habit is to select the project first in the Navigator or package explorer and then clean. I've tried this method for a while.
Eclipse+maven (WebApp) +jetty+jrebel configuration method