Spring Boot 프로젝트 이름을 변경해보자.
1. File > Project Structure > Name 변경
Name 부분을 변경할 프로젝트 이름으로 수정해준다.
2. settings.gradle
rootProject.name을 수정해준다.
3. 변경 사항 적용
변경 사항을 적용하기 위해 코끼리를 클릭한다.
만약 프로젝트가 있는 폴더도 이동한 경우 애플리케이션 실행 시 다음과 같은 문제가 생길 수 있다.
Two modules in a project cannot share the same content root.
프로젝트 폴더 안에 있는 .idea 폴더와 *.iml 파일을 삭제하고 IntelliJ를 다시 켜주면 된다.(자동 생성)
728x90
'Spring' 카테고리의 다른 글
[Spring] Elastic Cloud + Spring Boot 3.x 연동하기 (0) | 2024.08.23 |
---|---|
[Spring] Spring Boot3.x Docker Compose로 ElasticSearch 8.x+Kibana 구성 (Local) (0) | 2024.08.11 |
[WebFlux] Reactive Streams (0) | 2023.08.09 |
[Spring] 의존성 주입(DI: Dependency Injection) (0) | 2023.07.22 |
[Spring] Junit5 테스트 No tests found for given includes 오류 해결 (0) | 2023.06.21 |