![]() I started by trying to follow this guide linked to by the main site. container.I am trying to work with Spring Data and Neo4j. To make sure that the HST-2 container is reloaded after a change in the hst-config.properties you need to have in your site web.xml HstConfigServlet also the init param hst-config-refresh-delay configured, for example: After the reload, all changes in your JAXRS resources and (JAXB) representations will be picked up. You can trigger the HST-2 container to be reloaded when you touch (add a space and save) the hst-config.properties. However, there is a nicer workaround: Namely, when the HST-2 container gets reloaded, the CXF controller is reloaded as well. ![]() A restart of the application (no rebuild needed because JRebel did replace the classes) is then needed. This is because CXF only loads the annotations once. In this file, add the following line: rebel.cxf_plugin=false Reload JAXRS endpoint resources and (JAXB) representations without restartĪnnotations of JAXRS Resource Beans and (JAXB) representations do not get refreshed when they are changed and compiled, even with JRebel enabled. It is stored in the file ~/.jrebel/jrebel.properties If there's no JRebel plugin for your IDE, you can also edit the JRebel configuration manually. You can also disable other plugins you do not need.
0 Comments
Leave a Reply. |