- Hands-On Full Stack Development with Spring Boot 2.0 and React
- Juha Hinkula
- 120字
- 2021-06-25 21:00:21
Spring Boot development tools
Spring Boot development tools make the application development process easier. Projects will include the developer tools if the following dependency is added to the Maven pom.xml file:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
</dependency>
Development tools are disabled when you create a fully-packed production version of your application.
The application is automatically restarted when you make changes to your project classpath files. You can test that by adding one comment line to your main class. After saving the file, you can see in the console that the application has restarted:
package com.packt.cardatabase;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class CardatabaseApplication {
public static void main(String[] args) {
// After adding this comment the application is restarted
SpringApplication.run(CardatabaseApplication.class, args);
}
}
推薦閱讀
- 程序員面試白皮書
- Microsoft Dynamics 365 Extensions Cookbook
- C語言程序設計基礎與實驗指導
- PHP網絡編程學習筆記
- Groovy for Domain:specific Languages(Second Edition)
- 零基礎輕松學SQL Server 2016
- 從0到1:Python數據分析
- Cocos2d-x Game Development Blueprints
- Python開發基礎
- SpringBoot從零開始學(視頻教學版)
- 跟戴銘學iOS編程:理順核心知識點
- C++程序設計
- 奔跑吧 Linux內核
- Ext JS 4 Plugin and Extension Development
- SCRATCH編程課:我的游戲我做主