1. 程式人生 > >Spring Boot 自動重啟(spring-boot-devtools)

Spring Boot 自動重啟(spring-boot-devtools)



注意事項:
1. 我在debug啟動時,專案啟動結束時停到了如下位置:
```
public static void exitCurrentThread() {
    throw new SilentExitException();
}
```
不過倒不影響專案執行,自動啟動也是可以的,在stackoverflow上找到的解決方案是:
Eclipse -> Preferences ->Java ->Debug
去掉"Suspend execution on uncaught exceptions"前面的勾;