Back-End/Issues 24

[Spring Error] Bean method 'clientRegistrationRepository' in 'OAuth2ClientRegistrationRepositoryConfiguration' not loaded because OAuth2 Clients Configured Condition registered clients is not available

에러 내용 : Description: Method springSecurityFilterChain in org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration required a bean of type 'org.springframework.security.oauth2.client.registration.ClientRegistrationRepository' that could not be found. The following candidates were found but could not be injected: - Bean method 'clientRegistrationRepository' in 'OAu..

Back-End/Issues 2022.03.27

[intelliJ] jdk1.8과 jdk11함께 사용하기(java)

프로젝트마다 쓰는 자바 버전이 달라서 프로젝트를 번갈아 사용하다 보니 에러가 발생했다.. 스터디와 강의에서 쓰는 자바 버전이 달라서 어쩔 수 없이 두 가지를 귀찮지만 같이 쓰고 있다. 두 버전이 같은 폴더에 존재하고 있음 C:\Program Files\Java 현재 1.8로 설정되어 있으니 11로 바꿔보겠음 먼저 환경변수에 들어가 JAVA_HOME을 찾는다 이를 jdk11의 경로로 바꿔준다 그리고 Path를 눌러 편집을 눌러준다 그리고 이를 추가해준다 끝-!

Back-End/Issues 2022.03.17

인텔리제이 버전 낮추기 (ver 7.1 -> ver 4.10.2)

스프링 부트와 AWS로 혼자 구현하는 웹 서비스 책으로 공부하기 위해서 버전을 4.10.2로 낮추어 진행하는 것이 편하다 gradle -> wrapper -> gradle-wapper.properties 클릭 distributionUrl=https\://services.gradle.org/distributions/gradle-7.1-bin.zip 이 코드로 최신 버전으로 되어있는 것을 확인할 수 있음 터미널을 열어 다음과 같이 입력해 준다 ./gradlew wrapper --gradle-version 4.10.2 성공적으로 버전을 다운시킨 것을 확인할 수 있다

Back-End/Issues 2022.03.12