inblog logo
|
Noah Lee
    스프링입문

    프로젝트 생성

    스프링 입문, 프로젝트 생성, 김영한
    Feb 23, 2024
    프로젝트 생성
    Contents
    프로젝트 생성라이브러리 살펴보기View 환경 설정관련 레포지토리
    프로젝트 생성라이브러리 살펴보기View 환경 설정관련 레포지토리

    프로젝트 생성

    결과 화면
    notion image
    이슈
    → Spring Boot 3.0 java 17로 올려서 인텔리 j에서 실행했는데 오류가 나서
    아래 블로그를 통해서 해결함
    Spring Boot 3.x 실행이 안될 경우 (feat. IntelliJ)
    스프링 부트 3.0 이 출시되었다. (현재 최신은 3.0.1 이지만) 3.0 부터는 Java 17부터 지원된다. 그러다보니 기존에 Java8, 11등을 사용하시던 분들은 3.x 스프링 부트 프로젝트를 실행할때 에러들을 만나게 되는데, 이번에 나도 똑같이 경험해서 정리하게 되었다. 문제 스프링 부트 3.0.1 프로젝트를 실행할 일이 생겼다. 그래서 기존에 설치된 IntelliJ에서 Gradle Import를 시켰더니 다음과 같이 방다한 에러 메세지와 함께 실행이 되지 않았다. 기존 노트북에서 모두 Java 11로 프로젝트를 구동시켰었다. No matching variant of org.springframework.boot:spring-boot-gradle-plugin:3.0.1 was found. The ..
    Spring Boot 3.x 실행이 안될 경우 (feat. IntelliJ)
    https://jojoldu.tistory.com/698
    Spring Boot 3.x 실행이 안될 경우 (feat. IntelliJ)

    라이브러리 살펴보기

    notion image
    gradle이나 maven 같은 툴들은 의존관계를 관리해준다. 예를 들면
    implementation 'org.springframework.boot:spring-boot-starter-web'
    가 필요한 하위 라이브러리를 다 끌고 오게 되는 형식
    notion image

    View 환경 설정

    결과화면
    notion image
     
    notion image
     

    관련 레포지토리

    hello-spring
    Github
    hello-spring
    Owner
    YongHyeonLeeKr
    Updated
    Feb 20, 2024
    Share article
    Contents
    프로젝트 생성라이브러리 살펴보기View 환경 설정관련 레포지토리

    Noah Lee

    RSS·Powered by Inblog