java - Spring boot dev tools not working in Net beans -
i have read spring boot dev tools , want try it, add following pom
<dependency> <groupid>org.springframework.boot</groupid> <artifactid>spring-boot-devtools</artifactid> <optional>true</optional> </dependency>
and turn on devtools restart manual trigger in net beans options. run use following option org.springframework.boot:spring-boot-maven-plugin:1.3.2.release:run
in run project-> execute goals when change smth in code , project isn't rerun. did miss?
click under project properties -> build -> compile checkbox "compile on save" ticked. verified works modifying .java file , checking timestamps in /target/classes.
also changing execute goals in run project action in netbeans project properties following:
process-classes org.codehaus.mojo:exec-maven-plugin:1.2.1:exec
configuring explicit resource directory location (in case src/main/resources) pom.xml resolves problem of not reloading:
<build> ... <resources> <resource> <directory> src/main/resources </directory> </resource> </resources> ... </build>
Comments
Post a Comment