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