Questions tagged [spring-loaded]

Java agent that enables class reloading in a running JVM

Spring Loaded is a JVM agent for reloading class file changes whilst a JVM is running. It transforms classes at loadtime to make them amenable to later reloading. Unlike 'hot code replace' which only allows simple changes once a JVM is running (e.g. changes to method bodies), Spring Loaded allows you to add/modify/delete methods/fields/constructors. The annotations on types/methods/fields/constructors can also be modified and it is possible to add/remove/change values in enum types.

Spring Loaded is usable on any bytecode that may run on a JVM, and is actually the reloading system used in Grails 2.

Online resources:

59 questions
0
votes
0 answers

Tomcat reloading exploded war with spring-loaded

There's alot of questions on different forums [1] [2] [3] about this topic but none seem to provide a definitive answer. I've tried different combinations suggested in the various posts but I have yet to succeed. My goal is to make compiled source…
Hoof
  • 1,738
  • 2
  • 17
  • 39
0
votes
1 answer

Get SpringLoaded to watch all classes of a project

Is there a way to tell springLoaded to watch all classes of a project instead of a single class as shown in the how-to section ? java -javaagent:/springloaded-{VERSION}.jar -noverify SomeJavaClass
pmartin8
  • 1,545
  • 1
  • 20
  • 36
0
votes
0 answers

Grails 2.5.4 Error occurred during initialization of VM

I'm trying to run an application in Grails but I have a problem with the execution. I'm using grails version 2.5.4 and Java version 1.7. I checked my enviroment variables and they turned out to be OK. This is the error: Error occurred during…
Feer Sixx
  • 21
  • 2
0
votes
1 answer

spring boot use springloaded no work in gradle

When i use springloaded in my project. There is a similar question in Spring Boot + Spring-Loaded (IntelliJ, Gradle) According to the document , my build.gradle is : buildscript{ ext{ springBootVersion = '1.3.5.RELEASE' } repositories { …
Edward
  • 1,239
  • 13
  • 20
0
votes
1 answer

Intellij + Gradle + SpringLoaded + Tomcat

I'm developing Spring rest service using Gradle, Intellij, and Tomcat. I want to reload my changes without redeploying, so I use SpringLoaded. But it doesn't reload my project. Even hot swap doesn't work. Here is my build.gradle: def group =…
Taras Kohut
  • 2,505
  • 3
  • 18
  • 42
0
votes
1 answer

How to combine Spring Loaded with a Vaadin TouchKit application?

I successfully got the following example (simple Spring web application) to run: https://www.youtube.com/watch?v=GTrNkhVnJBU Now I want to use Spring Loaded in a project which is based on Spring Boot and Vaadin TouchKit. When I make a change (new…
0
votes
0 answers

How to configure spring loaded in properties files

I was doing hot deployment using spring loaded, with setup command line arguments it is working fine. But I want to do it using properties file, so how can I configure spring loaded using properties file?
Prabjot Singh
  • 4,491
  • 8
  • 31
  • 51
0
votes
1 answer

Deploy as ROOT and SpringLoaded Hippo CMS

Spring Loaded has been working fine for me until I recently switched to deploy as root. (to completely get rid of the "/site" in the URLs of my website) I've modified the original config brought up by Jeroen here but it's not working. (The files…
ericn
  • 12,476
  • 16
  • 84
  • 127
0
votes
1 answer

Spring Loaded not picking up changes (Run via Command Line / Edit using IntelliJ)

I have a very basic Spring Boot application that i use to run inside a terminal windows using. mvn clean spring-boot:run To use Spring Loaded i have modified my pom.xml to auto attach the reloading agent.
Marco
  • 15,101
  • 33
  • 107
  • 174
0
votes
1 answer

springloaded with Gradle, Groovy and spring-boot fails with java.lang.NoSuchFieldException: classCache

I've successfully setup a spring-boot-groovytemplates and actuator project. However, when adding springloaded to buildscript/dependencies block, I get the following stracktrace when recompiling in IDEA java.lang.NoSuchFieldException: classCache …
runeaen
  • 461
  • 5
  • 22
0
votes
1 answer

Using spring loaded with spring boot and maven

I'm creating an extremely simple Spring example as described here: http://spring.io/guides/gs/rest-service/ and I'm running it with mvn spring-boot:run. Now I want to add Spring Loaded plugin in there so that I as soon as I compile a java file, it…
user2396441
0
votes
0 answers

Using spring-loaded with tomcat webapps

(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…
0
votes
2 answers

can't debug class reloaded through spring-loaded in Netbeans

I would like to know if anyone has succeeded in making his debugger stop within a class reloaded through spring-loaded in Netbeans (or another IDE) ? Thank you very much in advance for your feedback. PS: JRebel works fine but it's far from free.
user2038596
  • 535
  • 1
  • 3
  • 14
-2
votes
1 answer

How can you set up Spring Loaded with Kotlin, Gradle, and a web framework?

I'm new to the JVM and interested in trying Kotlin for RESTful web development. Hot reloading is a dev feature I'm used to from dynamic scripting languages like Python, Ruby, and JavaScript. Play, Dropwizard, and Spring Boot all seem appealing. I'd…
rattray
  • 5,174
  • 1
  • 33
  • 27
1 2 3
4