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 |
31 |
Tags
- Auto-Importing
- spring boot
- git push
- node.js
- JS
- staged
- git rm
- maven
- Dependency Management
- Dependency
- node
- Spring
- commit
- hash-object
- git
- Linux
- unmodified
- SpringBootApplication
- 자바스크립트
- docker daemon
- github
- Git 내부
- Server Off
- git rm --cached
- npm
- Git내부
- 리눅스
- docker
- Modified
- brew
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