spring-loaded

Disable reloading in Grails 3.1 / springloaded

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-04 01:23:53
问题 I'm trying to disable automatic reload/recompiling in Grails 3.1 as I would like to use JRebel instead. I find springloaded rather limited, but more importantly is constantly fails with File /Users/engrun/Development/projects/grailsPoc/grails-app/controllers/grailsPoc/HelloController.groovy changed, recompiling... java.lang.IllegalAccessException: Class org.springsource.loaded.ReloadableType can not access a member of class org.springframework.aop.framework.CglibAopProxy

Disable reloading in Grails 3.1 / springloaded

China☆狼群 提交于 2019-12-01 04:17:52
I'm trying to disable automatic reload/recompiling in Grails 3.1 as I would like to use JRebel instead. I find springloaded rather limited, but more importantly is constantly fails with File /Users/engrun/Development/projects/grailsPoc/grails-app/controllers/grailsPoc/HelloController.groovy changed, recompiling... java.lang.IllegalAccessException: Class org.springsource.loaded.ReloadableType can not access a member of class org.springframework.aop.framework.CglibAopProxy$ClassLoaderAwareUndeclaredThrowableStrategy with modifiers "public" I have tried all kinds of settings that I have found

IntelliJ + Tomcat + Spring-Loaded

一个人想着一个人 提交于 2019-11-30 07:10:54
问题 I would like to try out Spring Source's "Spring Loaded" class reloading agent, with Tomcat run via IntelliJ. https://github.com/SpringSource/spring-loaded I've added the JVM arguments to my Tomcat run configuration, and my webapp starts up without errors and seems to behave normally. I'm not really sure how to trigger the class reloading though. Do I just need to compile the classes that I modify? I've tried that and that didn't seem to work. Do I need to update Tomcat and deploy classes and

Grails 2.0.4 Error opening zip file or JAR manifest missing Springloaded

*爱你&永不变心* 提交于 2019-11-29 11:33:17
I've just downloaded Grails 2.0.4 and extracted it to /opt/grails/grails-2.0.4/ and made sure that the GRAILS_HOME environment variable is correct. But whenever I try run the "grails" command, I get the following error: Error opening zip file or JAR manifest missing : /opt/grails/grails-2.0.4/lib/com.springsource.springloaded/springloaded-core/jars/springloaded-core-1.0.2.jar Error occurred during initialization of VM agent library failed to init: instrument I don't understand what the problem could be. I've been using Grails-2.0.1 for months successfully in exactly the same way on exactly the

IntelliJ + Tomcat + Spring-Loaded

旧城冷巷雨未停 提交于 2019-11-29 01:42:46
I would like to try out Spring Source's "Spring Loaded" class reloading agent, with Tomcat run via IntelliJ. https://github.com/SpringSource/spring-loaded I've added the JVM arguments to my Tomcat run configuration, and my webapp starts up without errors and seems to behave normally. I'm not really sure how to trigger the class reloading though. Do I just need to compile the classes that I modify? I've tried that and that didn't seem to work. Do I need to update Tomcat and deploy classes and resources? That doesn't seem to work either...? Any specific configuration details would be greatly

Grails 2.0.4 Error opening zip file or JAR manifest missing Springloaded

自闭症网瘾萝莉.ら 提交于 2019-11-28 05:23:00
问题 I've just downloaded Grails 2.0.4 and extracted it to /opt/grails/grails-2.0.4/ and made sure that the GRAILS_HOME environment variable is correct. But whenever I try run the "grails" command, I get the following error: Error opening zip file or JAR manifest missing : /opt/grails/grails-2.0.4/lib/com.springsource.springloaded/springloaded-core/jars/springloaded-core-1.0.2.jar Error occurred during initialization of VM agent library failed to init: instrument I don't understand what the

Spring Boot + Spring-Loaded (IntelliJ, Gradle)

不打扰是莪最后的温柔 提交于 2019-11-28 03:23:45
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, place it somewhere and point to it with a JVM parameter. Is there any better way (should I configure my