Backend/SPRING

Cause:org.jetbrains.plugins.gradle.tooling.util.ModuleComponentIdentifierImpl.getModuleIdentifier..

GreatSaiyaman 2022. 5. 21. 20:08

정말로 오랜만에, Spring initializr로 Springboot를 Spring 홈페이지에서 다운받은 후, gradle을 돌려 빌드를 해보니 아래와 같은에러가 발생하였습니다.

- Spring initializr를 다운받은 URL

https://start.spring.io/

 

- 발생한 오류

Cause: org.jetbrains.plugins.gradle.tooling.util.ModuleComponentIdentifierImpl.getModuleIdentifier()Lorg/gradle/api/artifacts/ModuleIdentifier;

 

"어라? 왜이래...

시작부터 빌드가 안되었던것입니다.

구글링을 해보았습니다.

Gradle version을 down grade 시키면 돌아간다는 stack overflow의 개발자님의 말대로 따라해보았습니다.

https://stackoverflow.com/questions/53702038/android-gradle-5-0-updatecause-org-jetbrains-plugins-gradle-tooling-util/56412795

 

Android Gradle 5.0 Update:Cause: org.jetbrains.plugins.gradle.tooling.util

On Updating version my project gradle to 5.0 release I am getting error in android studio it was working fine with gradle 5.0 rc 3 and 4 release. following is the error detail: Cause: org.jetb...

stackoverflow.com

 

1.기존의 gradle.wrapper.properties

distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

 

2.수정 후의 gradle. wrapper.properties

distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.7-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

아주 잘돌아가지만, 로그만 보고도 직관적으로 이곳저곳을 고쳐야 겠다라는 생각을 할 수 있는날이 하루 빨리왔으면 좋겠습니다...