LoginSignup
3
3

More than 5 years have passed since last update.

【Spring Boot Devtools】debugする際、SilentExitExceptionで止まる時の解決方法

Last updated at Posted at 2018-08-02

現象

spring-boot-devtoolsを入れてdebugモードでApplicationを起動すると、
必ずSilentExitExceptiondeで止まってしまいます。
もちろんブレークポイントは設定していません...。

image.png
※原因はbev-toolのバグとのこと。

ちなみに、Spring Boot Devtoolsとは

クラスパスのリソースの中で変更があった際に自動リスタートしてくれます。
build.gradleに以下の記述、再読み込みをすればOK!

build.gradle
dependencies {
    compile("org.springframework.boot:spring-boot-devtools")
}

SilentExitException回避方法

eclipse[環境設定]->[java]->[debug]
suspend execution on uncaught exceptions
のチェックをはずす。
image.png

上記の対応によってSilentExitExceptionでdebugが止まることはなくなり、
スッキリしました!

3
3
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
3
3