From eadc09ef0af71ddd16b646ee3f2a5847a14ed63e Mon Sep 17 00:00:00 2001 From: Rinjae Date: Fri, 19 Sep 2025 16:37:16 +0900 Subject: [PATCH] working weblogic --- build.gradle | 7 ++++++- src/main/resources/weblogic.xml | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 3a41770..532c85b 100644 --- a/build.gradle +++ b/build.gradle @@ -46,7 +46,7 @@ dependencies { implementation 'org.mapstruct:mapstruct:1.5.5.Final' implementation 'org.springframework.boot:spring-boot-starter-data-jpa' implementation 'org.springframework.data:spring-data-envers' - implementation 'org.springframework.boot:spring-boot-starter-web' + implementation 'org.springframework.boot:spring-boot-starter-validation' implementation 'org.springframework.boot:spring-boot-starter-thymeleaf' implementation 'org.springframework.boot:spring-boot-starter-security' @@ -59,7 +59,12 @@ dependencies { if (project.hasProperty("profile") && project.property("profile") == "weblogic") { // WebLogic 배포 시에는 톰캣을 WAR에 넣지 않음 + implementation('org.springframework.boot:spring-boot-starter-web') { + exclude group: 'org.springframework.boot', module: 'spring-boot-starter-tomcat' + } providedRuntime 'org.springframework.boot:spring-boot-starter-tomcat' + } else { + implementation 'org.springframework.boot:spring-boot-starter-web' } // implementation 'io.springfox:springfox-boot-starter:3.0.0' diff --git a/src/main/resources/weblogic.xml b/src/main/resources/weblogic.xml index 7784cb1..fb3302a 100644 --- a/src/main/resources/weblogic.xml +++ b/src/main/resources/weblogic.xml @@ -15,6 +15,7 @@ + 1800 JSESSIONID_ONL