repository 2

Build was configured to prefer settings repositories over project repositories but repository 'maven' was added by build file 오류 해결방법

오류 해석 빌드가 project/build.gradle에 선언된 repository보다 settings.gradle에 선언된 repositories를 선호하도록 설정되어 있으나, 프로젝트단에서 "maven"이라는 repositories를 선언해버렸다는 의미이다. 원인 내 settings.gradle.kts 파일에는 RepositoriesMode가 FAIL_ON_PROJECT_REPOS로 설정되어 있다. 이 RepositoriesMode는 3가지 종류가 있다. RepositoriesMode.PREFER_PROJECT 기본 값, settings.gradle에 선언된 repositories를 무시하고, project단의 repositories를 참조한다. RepositoriesMode.FAIL_ON_PROJE..

[Github] 원격서버에서 git 권한 없음 해결방법 (Permission denied (publickey))

Cloning into 'xxx'... Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. SSH를 통해 git을 이용하기 위해서는 올바른 공개키가 등록되어있어야한다. 보통 본인 컴퓨터에서 할때는 문제가 없지만, 원격지에서 pull을 땡기거나 할때 위와 같은 오류처럼 Repository 액세스 권한이 없다며 오류를 뱉게 된다. 현재 사용중인 SSH 파악하기 먼저, 원격지 서버에서 사용중인 SSH키가 어떤 것인지 알아야하고, 해당키가 github의 어느 Repository에 권한이있..