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
'SPRING > 스프링부트' 카테고리의 다른 글
package does not exist ...오류 (0) | 2022.03.25 |
---|---|
gradle build (0) | 2022.03.21 |
3.스프링 부트 Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. (0) | 2022.01.10 |
[스프링부트]2. Spring Boot & JMS & ActiveMQ 연동 및 테스트 (0) | 2021.12.02 |
[스프링부트]1. [Error] Querydsl Cannot find symbol 오류 (0) | 2021.11.20 |