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
- Django #Static
- db #with절 #오라클 #oracle #쿼리 #query
- kotlin #코틀린 #SpringDataJPA단점
- Django #장고 #에러해결방법 #templatetags
- db #mysql #mariadb
- python #json
- django #db #오류
- decode함수
- SQL
- 인텔리제이 #intelliJ #패키지생성 #package
- 데이터집계
- blockscope
- regexp_substr함수
- DTO #VO
- 인프런 #assertThat #오류
- yarn #오류
- MariaDB #Error
- git #삭제
- springboot #에러
- JPA #Springboot #java
- react #리액트 #JSX
- react #ref
- react #props #state
- JSP #Java #JQuery
- flutter #flutter개념 #특징 #장단점
- react #event
- PostgreSQL
- react #mini_project #study
- oracle #
- javascript #자바스크립트 #공백제거함수
Archives
- Today
- Total
감자의 개발공부 일지
[Springboot JPA] For artifact {org.thymeleaf.extras:thymeleaf-extras-springsecurity5:null:jar}: The version cannot be empty. 본문
JAVA/Spring/Spring JPA
[Springboot JPA] For artifact {org.thymeleaf.extras:thymeleaf-extras-springsecurity5:null:jar}: The version cannot be empty.
Elie_J 2024. 3. 19. 23:07반응형
Springboot 공부를 진행하던 도중
<dependency>
<groupId>org.thymeleaf.extras</groupId>
<artifactId>thymeleaf-extras-springsecurity5</artifactId>
</dependency>
다음과 같이 pom.xml 에 작성했을때
다음과 같은 에러가 발생했다.
구글링을 해본 결과
springboot 3.0 이상을 사용하는 상황에서
dependency에 version 정보를 넣어줘야 의존성 등록이 정상적으로 된다고 한다!
기존 자료에는 version명시하지 않는걸 보니
spirngboot 3.0이상 부터 변경되는거 아닐까...?
<dependency>
<groupId>org.thymeleaf.extras</groupId>
<artifactId>thymeleaf-extras-springsecurity5</artifactId>
<version>3.0.4.RELEASE</version>
</dependency>
다음과 같이 version정보를 추가해주고
Load Maven Changes 처리를 해줬더니
오류 없이 정상 작동한다!! 문제 해결! 😍
📖 참고자료 : https://stackoverflow.com/questions/72677959/spring-thymeleaf-security-secauthentication-not-working
반응형