0
분명히 다른 스레드에서 읽는 것처럼 ConfigurableApplicationContext를 닫으면 .exit이 사용되며 많은 방법으로 구현 될 수 있음을 알았습니다. 내가 출구 부분을 배치 할 때 난 로그인 페이지가스프링 부트 [적절하게 .exit을 사용하는 방법]
를 표시하지 않습니다, 지금 출구 부분 OUT /, 괜찮 실행 승 나는이 프로그램을 실행하면 ... 다음과 같이public static void main(String[] args) throws Exception {
SpringApplication app = new SpringApplication(Application.class);
ConfigurableApplicationContext applicationContext = app.run(args);
app.exit(applicationContext);
}
를 사용하려고했으나