Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] project 생성 by gradle 에러 #1

Closed
kimhanui opened this issue Aug 4, 2020 · 2 comments
Closed

[BUG] project 생성 by gradle 에러 #1

kimhanui opened this issue Aug 4, 2020 · 2 comments

Comments

@kimhanui
Copy link
Owner

kimhanui commented Aug 4, 2020

로그

Caused by: java.lang.NoClassDefFoundError: org/gradle/api/internal/plugins/DefaultConvention

원인

gradle x intellij 또는 intellij 내부 플러그인의 버전이 맞지 않아서 생기는 오류

해결

gradle이 6.x버전을 쓰고 있다면 5.x로 내려서 해결

  • 당시 환경
    -> intellij: 2018.3.2
    -> gradle: 6.4

  • gradle 버전 변경 command
    -> gradlew wrapper --gradle-version 5.6.4 (당연하지만 프로젝트 root에서 실행해야함)

image
해결하면 sync 잘 맞음

@kimhanui
Copy link
Owner Author

kimhanui commented Aug 4, 2020

해결해서 close

@kimhanui kimhanui closed this as completed Aug 4, 2020
@kimhanui kimhanui changed the title [ISU] project 생성 by gradle 에러 [BUG] project 생성 by gradle 에러 Aug 12, 2020
@kimhanui
Copy link
Owner Author

kimhanui commented Sep 2, 2020

책과 버전 sync를 맞춰 별도의 issue가 발생하지 않도록 함. -> 4.x버전으로 하향조정

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant