spring boot在Eclipse中,修改代碼後無需重啓就生效的配置

<build>  
    <finalName>my-spring-boot</finalName> <!-- 指定package生成的文件名爲my-spring-boot.jar -->  

    <plugins>  
        <plugin>  
            <groupId>org.springframework.boot</groupId>  
            <artifactId>spring-boot-maven-plugin</artifactId>  
            <dependencies>    <!-- 修改代碼後自動生效,Reload Java classes without restarting the container -->  
                <dependency>  
                    <groupId>org.springframework</groupId>  
                    <artifactId>springloaded</artifactId>  
                    <version>1.2.6.RELEASE</version>  
                </dependency>  
            </dependencies>  
        </plugin>  
    </plugins>  
</build>
相關文章
相關標籤/搜索