Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 유효성검사
- Java
- 스프링
- 생성자주입
- MVC
- 서비스레이어
- .xml
- c:if
- PointCut
- frontController
- @
- AOP
- 의존주입
- gradle
- @ResponseBody
- Model
- jointpoint
- spring
- SpringBoot
- springmvc
- after-throwing
- application.properties
- 어노테이션
- 비즈니스레이어
- produces
- @RequestMapping
- 바인딩변수
- @Valid
- springjdbc
- @RequestParam
Archives
- Today
- Total
메모장
에러 : ClassNotFoundException: javax.servlet.jsp.tagext.TagLibraryValidator 본문
Error
에러 : ClassNotFoundException: javax.servlet.jsp.tagext.TagLibraryValidator
Itchild 2024. 5. 3. 17:14728x90
반응형

java.lang.ClassNotFoundException : javax.servlet.jsp.tagext.TagLibraryValidator 에러 발생 이유는
Spring boot 3.0 이상 버전에서 jstl 을 추가 할 때는 !
jstl 1.2 버전 사용 불가 !! ❌
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>
따라서
<!-- jstl -->
<!-- https://mvnrepository.com/artifact/jakarta.servlet.jsp.jstl/jakarta.servlet.jsp.jstl-api -->
<dependency>
<groupId>jakarta.servlet.jsp.jstl</groupId>
<artifactId>jakarta.servlet.jsp.jstl-api</artifactId>
<version>3.0.0</version>
</dependency>
<!-- https://mvnrepository.com/artifact/jakarta.servlet/jakarta.servlet-api -->
<dependency>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
<version>6.0.0</version>
<scope>provided</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/org.glassfish.web/jakarta.servlet.jsp.jstl -->
<dependency>
<groupId>org.glassfish.web</groupId>
<artifactId>jakarta.servlet.jsp.jstl</artifactId>
<version>3.0.1</version>
</dependency>
해당 코드를 pom.xml에 추가 하면서 버전 올려주기
728x90
반응형
'Error' 카테고리의 다른 글
| spring application 위치 에러 (0) | 2024.05.03 |
|---|---|
| 에러 : BindingException (0) | 2024.05.03 |
| 에러 : DuplicateKeyException (0) | 2024.05.03 |
| 에러 : BindingException (0) | 2024.05.03 |
| 에러 : java.sql.SQLSyntaxErrorException (0) | 2024.05.03 |