Spring boot 프로젝트 생성
VSCODE setting
build.gradle
plugins {
id 'org.springframework.boot' version '2.7.3'
id 'io.spring.dependency-management' version '1.0.13.RELEASE'
id 'java'
id 'war'
}
group = 'com.rootenergy'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '8'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:2.2.0'
implementation 'com.google.code.gson:gson:2.8.0'
implementation 'org.apache.httpcomponents:httpclient:4.3.6'
implementation 'com.sun.mail:javax.mail:1.6.1'
compileOnly 'org.projectlombok:lombok'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
runtimeOnly 'mysql:mysql-connector-java:8.0.28'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter-test:2.2.2'
implementation 'org.apache.poi:poi:3.7'
implementation 'org.apache.poi:poi-ooxml:3.7'
implementation 'javax.servlet:jstl'
implementation "org.apache.tomcat.embed:tomcat-embed-jasper"
implementation group: 'org.apache.tiles', name: 'tiles-jsp', version: '3.0.5'
}
tasks.named('test') {
useJUnitPlatform()
}
war {
archiveName('erp.war')
}application.yml


Tiles

Last updated