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
- @ModelAttribute
- createQuery
- 전치행렬 #C
- java
- 백준
- gradle
- decorator
- 점세개
- @NotEmpty
- 10844
- 숫자야구
- @Spring
- BubbleSorting
- mycp
- 자료구조
- setParameter
- C
- springboot
- junit
- 데코레이터패턴
- 10951
- pscp
- 디자인패턴
- Spring
- Linux
- NamedParameterNotBound
- 쉬운 계단 수
- 자바
- designpattern
- 여러인수
Archives
- Today
- Total
목록springboot (1)
...

@NotEmpty 어노테이션은 javax.validation.constraints 패키지에 존재한다. 스프링 부트 버전에 따라서 이 패키지가 포함되어있을 수도, 아닐 수도 있다. 따라서 @NotEmpty 어노테이션이 import되지 않을 때는 build.gradle dependencies에 implementation 'org.springframework.boot:spring-boot-starter-validation' 을 추가해준다.
이것저것/오류 해결
2022. 4. 17. 14:44