-
[SpringBoot] 스프링부트 2.5.2 설치IT Tech/찍어먹는 IT 2021. 7. 11. 12:50
김영한 무료강의
설정 화면 추가 의존성 Spring Web, ThymeLeaf 템플릿 엔진을 사용. IntelliJ 설치 및 Git 연동
파일구조 확인
확인확인 처음 실행된다면 Gradle이 여러 기본 라이브러리들을 다운받기 때문에 시간이 꽤나 걸린다고 함.
package geol.ProjectS; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class ProjectSApplication { public static void main(String[] args) { SpringApplication.run(ProjectSApplication.class, args); } }
옆에 실행버튼을 누르거나 우측 상단 실행버튼을 눌러도 된다. 실행 성공 확인 Gradle 성공. 관련에 대해선 따로 자세히 공부해야 할 듯 하다. 처음에 몇 번 Gradle 실패가 뜨거나 했었던 문제고
스프링부트 관련 실행 문제가 발생했었었는데
o.s.boot.SpringApplication : Application run failed org.springframework.context.ApplicationContextException:
재부팅하고 다시 여니까 됐다....ㅇㅅㅇ;;
이렇게 뜨면 성공!! https://docs.spring.io/spring-boot/docs/current/reference/html/
Spring Boot Reference Documentation
The reference documentation consists of the following sections: Legal Legal information. Getting Help Resources for getting help. Documentation Overview About the Documentation, First Steps, and more. Getting Started Introducing Spring Boot, System Require
docs.spring.io
해당 공식문서에서 검색할 수 있으면 된다.
반응형'IT Tech > 찍어먹는 IT' 카테고리의 다른 글
[nginx] upstream sent too big header while reading response header from upstream (0) 2021.08.17 [Github] Arctic Code Vault Contibutor (0) 2021.07.28 코드 리뷰 (0) 2021.03.23 [Laravel] 라라벨 8.x 설치 (0) 2020.11.10 [Docker] 도커(Docker) 란? (0) 2020.10.31