0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Spring devtoolsメモ

Posted at

Spring Bootの開発効率化のために使用

dependenciesの追加

developmentOnly 'org.springframework.boot:spring-boot-devtools'

利用した機能

Automatic Restart

  • Javaのソースコードが変更された際に、自動でSpringが再起動される。
  • 必要な設定
    設定→ビルド・実行・デプロイメニュー→コンパイラ
    1,「自動的にプロジェクトをビルドする」にチェックが入れる
    2,詳細設定のコンパイラ→「開発対象のアプリケーションが実行中でも自動Makeの開始を可能とする」にチェックを入れる。

Hot Swapping

  • template変更の自動反映
    application.propertiesにspring.thymeleaf.prefixを追加し、templateのパスを指定
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?