Can't rename root module
IntelliJ IDEA 프로젝트 rename 오류 발생(gradle 사용 시) can't rename root module 경고 창이 떴을 경우 프로젝트 name 변경 방법을 알아보겠습니다.
![[IntelliJ] Can't rename root module - Can't rename root module [IntelliJ] Can't rename root module - Can't rename root module](http://t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png)
해당 에러 조치 방법
1. 상단 메뉴 File -> 프로젝트 구조(Project Structure) -> 프로젝트 설정(Project Settings) -> 프로젝트(Project) -> 이름(Name)
![[IntelliJ] Can't rename root module - Can't rename root module - 해당 에러 조치 방법 [IntelliJ] Can't rename root module - Can't rename root module - 해당 에러 조치 방법](http://t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png)
2. setting.gradle 에서 rootProject.name 변경할 이름으로 수정 후에 적용한다.
![[IntelliJ] Can't rename root module - Can't rename root module - 해당 에러 조치 방법 [IntelliJ] Can't rename root module - Can't rename root module - 해당 에러 조치 방법](http://t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png)
3. 해당 프로젝트 종료 후에 프로젝트 디렉토리로 이동하여 이름 변경 후 IntelliJ 재 실행한다.
![[IntelliJ] Can't rename root module - Can't rename root module - 해당 에러 조치 방법 [IntelliJ] Can't rename root module - Can't rename root module - 해당 에러 조치 방법](http://t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png)
반응형
'IDE > IntelliJ' 카테고리의 다른 글
[Intellj] Intellj에서 삭제파일 및 코드 복구 방법 (0) | 2023.11.23 |
---|---|
[IDE] 자바 JDK 설치 및 인텔리제이 설정 (0) | 2023.10.18 |
out 내장 객체 & Intellj 설정 (0) | 2023.09.24 |
댓글