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
- 리트코드 1557
- 그래프 자바
- 구현
- 프로그래머스
- 스프링 에러
- 리트코드
- 프로그래머스 java
- 분할정복
- 백준 18222
- 백준
- java 프로그래머스
- dfs
- daily challenge
- leetcode 1721
- leetcode
- 스택
- 자바
- 카카오
- DP
- 리트코드 자바
- Java
- 파이썬
- 자바 리트코드
- 백준 16935
- 자바 5464
- BFS
- 인텔리제이 에러
- 코딩테스트
- java leetcode
- 코테
Archives
- Today
- Total
목록validation cannot be resolved (1)
레벨업 일지

문제 @NotBlank 어노테이션을 사용하기 위해 jakarta 라이브러리를 import 했는데, validation 부분이 빨간색이 뜨면서 인식을 못한다. jakarta 대신 javax.validation 을 사용해도 마찬가지였다. 원인 스프링부트 2.3 부터 Validation Starter 가 Spring Boot Web과 분리가 되면서 동작을 하지 않는다. 그래서 dependencies 를 추가로 작성해야 한다. 해결 https://docs.gradle.org/current/userguide/war_plugin.html The War Plugin The default behavior of the War task is to copy the content of src/main/webapp to the..
JAVA/spring
2023. 2. 7. 15:34