spring-loaded

Using Spring loaded in spring mvc framework

China☆狼群 提交于 2020-01-14 09:07:08
问题 I am having some issues using spring loaded with spring mvc. I added the spring loaded jar as a java agent on the server. Now when I added new methods for instance in my case I added a new method testHomes(), and it gives me with this dialog. Below is my config I also checked Build Automatically I am using spring framework 4.2.5.RELEASE. I checked from the following link SpringLoaded Unlike 'hot code replace' which only allows simple changes once a JVM is running (e.g. changes to method

Using Spring loaded in spring mvc framework

帅比萌擦擦* 提交于 2020-01-14 09:05:36
问题 I am having some issues using spring loaded with spring mvc. I added the spring loaded jar as a java agent on the server. Now when I added new methods for instance in my case I added a new method testHomes(), and it gives me with this dialog. Below is my config I also checked Build Automatically I am using spring framework 4.2.5.RELEASE. I checked from the following link SpringLoaded Unlike 'hot code replace' which only allows simple changes once a JVM is running (e.g. changes to method

Spring Boot + Spring-Loaded (IntelliJ, Gradle)

ぃ、小莉子 提交于 2019-12-17 17:27:06
问题 I'd like to use hot swap with my Spring Boot project. Somehow I am not able to make it working by running it in my IDE (IntelliJ), despite of having this topic covered by documentation. I simply run the class with my main method with VM attributes: -javaagent:/path/to/jar/springloaded.jar -noverify My question is, how do I make it work? :-) Further question is how to use spring loaded with Gradle and IntelliJ. I find it quite inconvenient to force the developer to download the JAR manually,

Grails auto-reloading new controller actions

风流意气都作罢 提交于 2019-12-14 00:23:05
问题 I've created new Grails 2.4.3 project created TestController set grails.reload.enabled = true in BuildConfig.groovy run application with grails -reloading run-app My controller action code: def index() { render "test" } When I change the string test to test2 - I see in console (in Eclipse): .................. |Compiling 1 source files And after reloading page I see test2 - ok. But when I try to add new method: def test3() { render "test3" } I see: Why? Why there isn't even the url? Example -

Using spring-loaded with tomcat webapps

情到浓时终转凉″ 提交于 2019-12-13 05:02:19
问题 (SOLVED) I have been trying out Spring-loaded as an open-source variant of Rebel or others for hot-deploy/class reloading of Java code. However I have not had succes with the JVM agent configuration using springloaded-1.2.0.RELEASE.jar as described here https://github.com/spring-projects/spring-loaded. Is it possible to get tomcat webapp class reloading working with spring-loaded and what should the configuration be? 来源: https://stackoverflow.com/questions/24608179/using-spring-loaded-with

Breakpoints does not work after reloading classes with springloaded in Intellij

老子叫甜甜 提交于 2019-12-10 11:12:19
问题 I'm running my java application with an "Application" configuration in Intellij and I'm using these vm options for using springloaded: -javaagent:.../springloaded-1.2.0.RELEASE.jar -noverify The class reloading with springloaded works fine. But the debugger won't stop any more at the breakpoints in the reloaded classes. Breakpoints in other classes still work. 回答1: This solution works: start the application in run mode (instead of debug mode) with the remote debug option: -agentlib:jdwp

how can I disable reloading in a grails 3.0.0 app?

一个人想着一个人 提交于 2019-12-08 17:43:24
问题 It appears that the spring reloading causes errors with JDK 8u40 in Grails 3.0.0.M2. Can I disable the reloading in development mode? Is there a key to set in the build.gradle or in the application.yml? 回答1: Not sure if it helps in above case. I use below over grails 2.3.8 to disable auto compile. grails -Dserver.port=8090 -Dserver.env=development -Denable.jndi=true -Ddisable.auto.recompile=true run-app where disable.auto.recompile=true disables autocompile and autoreload of changes . server

Spring loaded 1.2.5 + Spring Boot 1.3.2. can't seem to get it to work

僤鯓⒐⒋嵵緔 提交于 2019-12-07 21:48:44
问题 I came across a video on youtube ( https://www.youtube.com/watch?v=GTrNkhVnJBU ) where it demos Spring Loaded. I'm trying to duplicate the same behavior but am still unsuccessful so far. What I'm using: Spring Tool Suite 3.7.2 Spring Boot 1.3.2-RELEASE Spring loaded 1.2.5-RELEASE Maven version 3.1.0 JDK 1.8.0_71 I tried the same thing as the guy does in the video (except for the versions being more up to date of course) but it doesn't work. I also tried the "maven plugin" way as described in

Breakpoints does not work after reloading classes with springloaded in Intellij

徘徊边缘 提交于 2019-12-06 07:18:59
I'm running my java application with an "Application" configuration in Intellij and I'm using these vm options for using springloaded: -javaagent:.../springloaded-1.2.0.RELEASE.jar -noverify The class reloading with springloaded works fine. But the debugger won't stop any more at the breakpoints in the reloaded classes. Breakpoints in other classes still work. This solution works: start the application in run mode (instead of debug mode) with the remote debug option: -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005 Start remote debug from intellij. But perhaps there's a

Grails auto-reloading new controller actions

泪湿孤枕 提交于 2019-12-04 07:18:35
I've created new Grails 2.4.3 project created TestController set grails.reload.enabled = true in BuildConfig.groovy run application with grails -reloading run-app My controller action code: def index() { render "test" } When I change the string test to test2 - I see in console (in Eclipse): .................. |Compiling 1 source files And after reloading page I see test2 - ok. But when I try to add new method: def test3() { render "test3" } I see: Why? Why there isn't even the url? Example - action does't exist: Interesting thing is - when I create a whole new controller the index action of