I am trying to get a simple Spring-Boot application to work with Spring Loaded and Gradle without any success. I have tried the following:
Using Spring-Boot with the
bootRuntask simply reloads static resources just fine with a simple F5 in the browserIf I use
bootRunagain and change a class through a text editor and the usecompileJavait doesnt work.If I run it with
IntelliJ Applicationmake a change in an existing controller and use the IntelliJmakeit works only for existing methods. Doesnt update new methods, change of signatures etc.Using intelliJ with VM argument: -javaagent:C:\Users\myuser.m2\repository\org\springframework\springloaded\1.2.1.RELEASE\springloaded-1.2.1.RELEASE.jar -noverify Still does nothing.
Ideally, I would like to perform the process through using Gradle only - not the IntelliJ since team members might be using another IDE.
Please have a look at the Github project so you can see my sample code: Sample Project
Just perform any changes in the DemoController
Aucun commentaire:
Enregistrer un commentaire