@spring initializr
를 제공하지 않는다.🏷️ spring initializr 프로젝트 생성 페이지
개발자에 맡게 선택한 후
GENERATE
를 눌러주면 된다.
implementation 'org.springframework.boot:spring-boot-starter'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
//lombok 관련
implementation 'org.projectlombok:lombok'
//Db 관련
implementation 'org.springframework.boot:spring-boot-starter-jdbc'
implementation group: 'org.mybatis.spring.boot', name: 'mybatis-spring-boot-starter', version: '2.2.0'
implementation group: 'org.mariadb.jdbc', name: 'mariadb-java-client', version: '2.3.0'
implementation group: 'org.mybatis', name: 'mybatis-typehandlers-jsr310', version: '1.0.2'
implementation group: 'org.mybatis', name: 'mybatis-spring', version: '2.0.6'
//스프링 시큐리티 관련 (로그인 구현 시 필요)
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.thymeleaf.extras:thymeleaf-extras-springsecurity5'
//로그
implementation group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3'
package com.karim.simpleBoard;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class WebApplication {
public static void main(String[] args) {
SpringApplication.run(WebApplication.class, args);
}
}
Error는 뜨지만 스프링 부트의 실행을 확인할 수 있다.