You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain
Caused by: java.lang.ClassNotFoundException: org.gradle.wrapper.GradleWrapperMain
Hi Piyush and welcome to the community!
The error indicates that the build cannot find a dependency it needs (gradle wrapper).
A common reason for this error is that the .gitignore file in the repo may be preventing the wrapper jar file from being committed. Can you please check if the .jar files are being excluded in the .gitignore of the repo?
If this is the case, you can add an exception in the .gitignore for this file, so that it gets committed to the repo, for example: