fix(runtime): 라이브러리 스캔 오류 제거

- DevTools가 POI의 Batik/Xalan 매니페스트를 재검사하며 출력하던 잘못된 경고 제거
- Batik/Xalan을 JSP TLD 스캔 대상에서 제외
- 사용하지 않는 Data JDBC, MyBatis, 중복 JSP 태그 라이브러리 제거
- Validation 버전을 Spring Boot 2.4.3 의존성 관리에 맞춤
- phone/JPA/Excel 기능은 유지
This commit is contained in:
한강욱
2026-08-17 19:10:03 +09:00
parent 6386f538ed
commit d426a4238b
6 changed files with 17 additions and 48 deletions
+5 -31
View File
@@ -20,10 +20,6 @@
<webapp.lib>${basedir}/src/main/webapp/WEB-INF/lib</webapp.lib>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jdbc</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
@@ -117,12 +113,11 @@
</dependency>
-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
<optional>true</optional>
</dependency>
<!--
DevTools는 IntelliJ 실행 클래스패스에서 POI가 포함한 Batik/Xalan JAR의
매니페스트를 재검사하며 존재하지 않는 상대 경로를 라이브러리 오류처럼 출력한다.
현재 프로젝트는 자동 재시작을 사용하지 않으므로 포함하지 않는다.
-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
@@ -174,7 +169,6 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
<version>2.4.5</version>
</dependency>
<!-- https://mvnrepository.com/artifact/com.auth0/java-jwt -->
@@ -198,13 +192,6 @@
<version>4.5.13</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.mybatis.spring.boot/mybatis-spring-boot-starter -->
<dependency>
<groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId>
<version>2.2.0</version>
</dependency>
<!-- Pull in as a traditional dependency -->
<dependency>
<groupId>com.konghq</groupId>
@@ -217,19 +204,6 @@
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
</dependency>
<dependency>
<groupId>taglibs</groupId>
<artifactId>standard</artifactId>
<version>1.1.2</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.springframework.security/spring-security-taglibs -->
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-taglibs</artifactId>
<version>5.5.0</version>
</dependency>
<!-- DB Logback -->
<dependency>
<groupId>org.bgee.log4jdbc-log4j2</groupId>
+1 -6
View File
@@ -9,11 +9,6 @@ spring:
encryptor:
bean: jasyptStringEncryptor
devtools:
livereload:
enabled: true
restart:
enabled: false
mail:
host: smtp.mailplug.co.kr
port: 465
@@ -72,4 +67,4 @@ lanedu:
bill-return-smartro-url: "http://localhost:8080/pay/bill?userId="
ssp-mall-id: "SMTSSPAY0p"
smartro-js-url: "https://tpay.smartropay.co.kr/asset/js/SmartroPAY-1.0.min.js"
smartro-mjs-url: "https://tmpay.smartropay.co.kr/asset/js/SmartroPAY-1.0.min.js"
smartro-mjs-url: "https://tmpay.smartropay.co.kr/asset/js/SmartroPAY-1.0.min.js"
+10 -7
View File
@@ -28,11 +28,16 @@ spring:
max-file-size: 1GB
max-request-size: 1GB
mybatis:
mapper-locations: mybatis/**/*.xml
configuration:
map-underscore-to-camel-case: true
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
# POI가 포함하는 Batik/Xalan은 JSP 태그 라이브러리가 아니며,
# 해당 JAR의 배포용 Class-Path를 따라가면 존재하지 않는 상대 경로 경고가 발생한다.
server:
tomcat:
additional-tld-skip-patterns:
- "batik-*.jar"
- "xalan-*.jar"
- "serializer-*.jar"
- "xml-apis*.jar"
logging:
level:
root: info
@@ -43,5 +48,3 @@ lanedu:
superpassword: aircode
upload-file-extension: ".pdf, .doc, .docx, .xls, .xlsx, .ppt, .pptx, .jpg, .jpeg, .png, .gif, .avi, .flv, .mpg, .mpeg, .mkv, .mov, .mp3, .mp4, .wav, .wma, .hwp"
authPhones: 01072276360,01073002291
@@ -1,5 +1,4 @@
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<footer class="hidden-xs">
@@ -1,5 +1,4 @@
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<c:set var="urlPath" value="${requestScope['javax.servlet.forward.servlet_path']}" />
@@ -1,5 +1,4 @@
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
@@ -13,4 +12,4 @@
<a class="list-group-item list-group-item-action list-group-item-light p-3" href="#!">Profile</a>
<a class="list-group-item list-group-item-action list-group-item-light p-3" href="#!">Status</a>
</div>
</div>
</div>