반응형
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
- Testcode
- memory 정리
- SAP
- abap memory
- optional
- abap면접
- @Controller
- spring
- abap
- application-properties
- memory변수명 변경
- BindingResult
- jpa
- 김영한
- value base corresponding
- SpringMVC
- Validation
- spring MVC
- sap memory
- mapping corresponding
- abap value in field Data Class error
- .orelseThrow
- MVC
- 신문법 abap
- for all entries in
- controller
- 구글 보안 api 활용
- new syntax
- n+1
- springSecurityFilterChain 오류
Archives
- Today
- Total
SAP공장
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 |