728x90
시작하는 말
Gradle project는 이클립스에서 gradle import했을때 다음과 같은 오류가 발생할 수 있다.
Description Resource Path Location Type Project at 'D:\Project\stocking-backend' can't be named 'back' because it's located directly under the workspace root. If such a project is renamed, Eclipse would move the container directory. To resolve this problem, move the project out of the workspace root or configure it to have the name 'stocking-backend'. stocking-backend line 0 Gradle Error Marker
해결 방법
다음과 같은 에러가 발생할때는 아래의 순서대로 해결하면 된다.
1. 프로젝트의 settings.gradle을 2번과 같이 수정한다.
2. rootProject.name을 맞게 설정해준다.
3. 그리고 난 뒤 Refresh Gradle Project를 해준다.
끝. 간단한 에러 수정방법이다.
성장에 도움을 주신 개발자분
출처 : https://haenny.tistory.com/99
오늘도 감사합니다.
728x90
'서버 > 개발 Tools' 카테고리의 다른 글
Source tree 간단 사용법 (0) | 2021.08.06 |
---|---|
Maven이란? (0) | 2021.08.02 |
Port 8080 required by Project is already in use 에러 해결 방법 (0) | 2021.07.14 |
[Eclipse] 이클립스 Gradle 프로젝트 Import 방법 (0) | 2021.07.02 |
[Eclipse] 이클립스 한글 깨짐 해결 방법 (0) | 2021.06.24 |
댓글