How to activate the live edition with spring boot

0

I'm working on spring boot with gradle and I do not know how to activate the live edition investigate that you have to integrate the dependency

 compile("org.springframework.boot:spring-boot-devtools")

but I can not make it work, I do not know what I could be doing wrong

    
asked by goku venz 19.10.2017 в 20:32
source

1 answer

0

I do not know gradle but in Maven it is:

<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-devtools</artifactId>
    <scope>runtime</scope>
</dependency>

So I guess in gradle you should indicate that the scope is runtime instead of the compile you have.

    
answered by 17.07.2018 в 00:09