반응형
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 |
Tags
- 세션이란
- MVC
- .orelseThrow
- 구글 보안 api 활용
- 김영한
- filter vs interceptor
- 필터의 정의
- optional
- Testcode
- 세션의 정의
- BindingResult
- 필터vs인터셉터
- @Controller
- jpa
- 유연한 컨트롤러1 - v5
- 401오류
- 인터셉터의 정의
- springSecurityFilterChain 오류
- controller
- 쿠키란
- SpringMVC
- application-properties
- abap value in field Data Class error
- n+1
- Validation
- 세션vs쿠키
- 쿠키의 정의
- spring
- spring MVC
- java.lang.AssertionError
Archives
- Today
- Total
ABAP DUMP ERROR 24시
Intellij @valid, validation 오류 본문
반응형
정리
pom.xml에
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
<version>2.6.2</version>
</dependency>
를 추가하자!
살펴보기
validation이 실행이 안되는 오류가 발생했다.
추가하니
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
사용 가능!
@Valid 도 사용이 가능해졌다.
반응형
'[WEB]오류들 > inteilij-git오류' 카테고리의 다른 글
JPA Service 계층 오류 (Optional) (0) | 2022.05.22 |
---|---|
JAVA-HOME not found in your enviroment. 오류 (0) | 2022.01.22 |
intellij 에서 index.html 파일이 읽히지 않는 현상 (0) | 2022.01.17 |
JavaMailSender 오류 -JavaMailSender' in your configuration. (0) | 2022.01.16 |
병합 오류: refusing to merge unrelated histories, 푸시가 거부됨 (0) | 2022.01.10 |
Comments