본문으로 바로가기
728x90
반응형
SMALL
@SpringBootConfiguration
public class AtfmApplication {
	
	public static void main(String[] args) {
			
        SpringApplication application = new SpringApplication(AtfmApplication.class);
        application.setWebApplicationType(WebApplicationType.NONE);
        application.run(args);
	}

}

 

 

해당 구문만 추가해주면 된다.

    application.setWebApplicationType(WebApplicationType.NONE);
        application.run(args);

 

728x90
반응형
LIST