![jrebel maven jetty jrebel maven jetty](https://img-bbs.csdn.net/upload/201804/24/1524581818_830405.png)
When you change any java classes, just wait for eclipse auto build to finish, reload the web page, and JRebel will reload the class for you.
![jrebel maven jetty jrebel maven jetty](https://img-blog.csdnimg.cn/20210408140825410.png)
See Troubleshooting Memory Errors or Performance Tuning or Increasing Memory for Maven For instance if you want to change to port 8081, then on the JRE tab, in the VM parameters box, add something like this: -Djetty.port=8081 You may want to change to any other different port for jetty. If on running, you get error messages including this: ": Address already in use", most likely the default 8080 port is in use. On the JRE tab, in the VM parameters box, you will want to put in your memory parameters, e.g. Now you select "OpenMRS" and run or debug it. If you want to run a single test class,right click on test class and select "Run As → Junit test" How to Run Web ApplicationĬreate a run configuration by click "Run → Run Configurations", select Maven Build and click "New launch configuration", type Name "OpenMRS", select working directory to be the root of webapp project, type goal "jetty:run" and save. If you want to run all tests in one module, select that project and right click to bring context menu, select "Run As → Maven test" If you want to run all tests across modules, select Openmrs project and right click to bring context menu, select "Run As → Maven test" Select the configuration under the Maven Build section. To manage these configurations, right click the root project to bring up the context menu, select "Run as -> Run configurations.". To re-run the build, right click the root project to bring up the context menu, select "Run as -> Maven build." If you have multiple configurations, select the "clean install" one to run.
![jrebel maven jetty jrebel maven jetty](https://img-blog.csdnimg.cn/20210408140905159.png)
![jrebel maven jetty jrebel maven jetty](https://3.bp.blogspot.com/-U9IcTo0dRUE/TrjAsScn7XI/AAAAAAAAAgQ/olMEn1cdq-M/s1600/Untitled+4.png)
In older versions of the m2eclipse Eclipse plugin (prior to 0.11.0), you have an option to place all modules within a single project this feature is deprecated as of m2eclipse 0.11.0.For SCM, choose 'svn' and browse to the project ( ).File → New → Project → Checkout Maven Projects From SCM.