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
- Query String
- programmers
- Invalid character found in method name
- kafka connect
- 1450
- 문자열 검증
- Path Variable
- git reflog
- Late row lookup
- kafkaconnect
- API 설계
- 제약 조건
- 페이지네이션
- event loop
- code --no-sandbox
- reflog
- Git
- foreign key constraint fails
- Cannot delete or update a parent row: a foreign key constraint fails
- constraint fails
- 페이지네이션 최적화
- 참조무결성
- Cannot add or update a child row: a foreign key constraint fails
- 23000
- 1452
- git rebase -i
- jdbc connector
- kafka-connect
- debezium
- Pagination Optimization
Archives
- Today
- Total
Kawaii_Jordy
[Validator] hibernate validator dependency 추가 본문
build.gradle
[잘못된 방법]
implementation("org.hibernate.validator:hibernate-validator:7.0.0.Final")
implementation("org.glassfish:jakarta.el:3.0.3")
위에 처럼 하면 import는 되는데 실행이 안됨
[Spring Boot에 맞는 방법]
implementation("org.springframework.boot:spring-boot-starter-validation")
implementation("org.springframework.boot:spring-boot-starter-web")
여기처럼 바꿔주자
'취준 > SPRING' 카테고리의 다른 글
[ControllerAdvice] Exception Handling (0) | 2021.07.13 |
---|---|
[Validation] Working with Date Parameters in Spring (0) | 2021.07.13 |
[Validation] Hibernate Validator (0) | 2021.07.13 |
[Spring boot] Caused by: org.hibernate.hql.internal.ast.QuerySyntaxException: ??? is not mapped 오류 (0) | 2021.07.05 |
[Java Error] Invalid character found in method name (0) | 2021.07.01 |
Comments