inflearn logo
강의

講義

知識共有

Spring Boot アップデート

application 이 실행되지 않습니다... .m2/repository 에러 발생

695

castinglife

投稿した質問数 74

0

 

 

서버실행시 에러 로그입니다.

Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'springSecurityFilterChain' defined in class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.servlet.Filter]: Factory method 'springSecurityFilterChain' threw exception; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.security.oauth2.client.registration.ClientRegistrationRepository' available

 

project structure 설정 repository 에러 발생 !!      

 

.m2/repository 폴더를 삭제하고 의존성 파일들을 다시 받아도 에러가 사라지지 않습니다.

spring boot version 을 2.5 까지 낮춰보았는데도 현상은 같습니다.

원인을 알려주실수 있을까요?

원본 파일은  github  https://github.com/castinglife/springboot-oauth-test 에 있습니다.

spring java spring-boot

回答 1

0

castinglife

jetbrain tool box 를 완전히 닫았다가 열었더니 에러가 모두 사라졌습니다. ^^

intellij 문제 였네요..  이걸로 오늘 반나절을 다 보낸것 같습니다. ㅠ.ㅠ

 

maven, gradle 모두 잘 돌아 갑니다..

 

위와 같은 문제가 발생하시는 분이 있으시면 jetbrain tool box 로그인후에도 안되시면 tool box를

종료했다가  다시 실행해 보시거나.. 

그래도 안되시면 

 

.m2/repository 폴더를 삭제하시고 maven 새로고침.. ( repository(의존성)가 다시 다운 받아 집니다.. )

그래도 안되시면 tool box 사용하심 tool box 종료후 재시작

intellij 만 설치하셨으면 intellij 만 완전 종료후 다시 열면 잘되실것 같습니다.. 

0

whiteship

잘 해결되어서 다행이네요. 정말 가끔 의존성 라이브러리를 받아오는 과정에서 그런 문제가 생기는데 그럴땐 공유해주신대로 로컬 의존성 저장소를 삭제하고 다시 내려받도록 하는 것이 좋은 해결 방법입니다. 감사합니다.

전자책

0

16

1

추천 로드맵의 6장 동기화는 '섹션 7. 동기화 - synchronized'인가요?

0

23

0

문제 2번..

0

40

2

커스톰 @Conditional 강의에서 질문이 있습니다.

0

40

3

DataSourceAutoConfiguration exclude 설정 관련

0

40

2

static클래스 개념 정리.

0

45

1

static 변수가 저장 되는 위치

0

38

1

Fanout on Read 의 학습 코드에서 질문 있어요

1

47

1

장바구니 질문

0

55

1

강의 연장 문의

0

44

2

트러블슈팅 케이스 스터디 - P 대형 커머스

0

42

2

강의 내용 질문 `[실습] MDC·UTM·세션ID로 "돈 버는 로거" 만들기`

0

45

1

Instant 출력 할때.

0

44

1

안녕하세요 늦은 나이 늦깎이 개발자 지망생입니다.

0

50

1

values()메서드

0

51

0

강의 소스코드는 어디서 다운받을 수 있나요?

1

69

2

팔로워수,팔로잉수 조회 설계

1

50

1

JpaPagingItemReader는 좋은게 없는거야..??

0

63

1

입문 강의 듣고 바로 들어도 괜찮을까요?

0

39

1

리프레시토큰

0

57

1

DB 연결 후 회원가입 시 생성되는 id 번호 질문

0

69

2

강의 순서 관련 질문

0

389

1

실행시 빈 등록 에러 관련 질문 드립니다.

0

476

4

강의 영상이 중복되었습니다.

0

347

1