korean IT student

Intellij - 멀티모듈 생성 시 Task 'wrapper' not found in project 해결 본문

개발툴

Intellij - 멀티모듈 생성 시 Task 'wrapper' not found in project 해결

현창이 2021. 9. 14. 11:21

Task 'wrapper' not found in project ':msa-catalog' 해결하기

 

  • 멀티모듈 생성 후 build 시 에러가 나타날 수 있다.

[해결방법]

1. 프로젝트 최상단에 gradle-wrapper 설치 확인

2. setting.gradle 확인

3. gradle build 확인

 

 

 

1. 프로젝트 최상단에 gradle-wrapper 설치 확인

  • gradle-wrapper.properties에서 버전을 확인할 수 있다
  • 버전 확인 후 ./gradlew wrapper 빌드를 하였습니다.

 

2. setting.gradle 확인

 

  • 먼저 setting.gradle 확인 (include 'msa-catalog')

 

 

3. gradle build 확인

  • 멀티모듈 생성 전에 하나만 있었는데 여러개가 생겨서 나머지를 삭제하였습니다.
Comments