Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
Tags
- docker daemon
- Git 내부
- Linux
- Spring
- Dependency Management
- git
- unmodified
- docker
- staged
- 자바스크립트
- hash-object
- git push
- Modified
- spring boot
- brew
- JS
- SpringBootApplication
- git rm
- maven
- github
- node
- git rm --cached
- Auto-Importing
- npm
- commit
- 리눅스
- Git내부
- node.js
- Server Off
- Dependency
Archives
- Today
- Total
갓태희
[Spring] Spring Boot Web Server Off 본문
import org.springframework.boot.SpringApplication;
import org.springframework.boot.WebApplicationType;
public class Application {
public static void main(String[] args) {
SpringApplication springApplication = new SpringApplication();
springApplication.setWebApplicationType(WebApplicationType.NONE);
}
}
@SpringBootApplication
을 없애고 WebServer 구동을 None 할수있다.
'Spring' 카테고리의 다른 글
[Spring] Dependency Management (0) | 2021.06.22 |
---|
Comments