Eclipse Luna 4.4.1 spring boot 1.3.0.M4,spring-dev-tools 热重载不工作

Eclipse Luna 4.4.1 spring boot 1.3.0.M4, spring-dev-tools hot reload not working

我在 Spring 开发工具和 here with IDEA. I've followed the configuration descibed in a this 文章中描述的 Eclipse 中遇到了类似的情况,但热重载不起作用。有什么想法我想念的吗?这将是一个非常酷的功能。

编辑。热重载 = 任何类路径文件更改都会自动触发应用程序重启。

我的 Gradle 构建脚本是:

buildscript {
    ext {
        springBootVersion = '1.3.0.M4'
    }
    repositories {
        maven { url "http://repo.spring.io/snapshot" }
        maven { url "http://repo.spring.io/milestone" }
        mavenCentral()
    }
    dependencies {
        classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}") 
        classpath("io.spring.gradle:dependency-management-plugin:0.5.2.RELEASE")
    }
}

和依赖项:

dependencies { 
compile("org.springframework.boot:spring-boot-devtools")
compile("org.springframework.boot:spring-boot-starter-data-jpa")
compile("org.springframework.boot:spring-boot-starter-freemarker")
compile("org.springframework.boot:spring-boot-starter-hateoas")
compile("org.springframework.boot:spring-boot-starter-jdbc")
compile("org.springframework.boot:spring-boot-starter-jersey")
compile("org.springframework.boot:spring-boot-starter-web")
runtime("com.h2database:h2")
runtime("mysql:mysql-connector-java")
testCompile("org.springframework.boot:spring-boot-starter-test")}

我找到了解决办法。出于某种原因,Eclipse 仍然尝试使用以前的 Spring 引导版本 (1.2.5),在我删除并重新导入项目后,热重载开始工作。