nus-cs2103-AY2122S2 / forum

13 stars 1 forks source link

Main Class not found and Gradle not working #227

Closed Punpun1643 closed 2 years ago

Punpun1643 commented 2 years ago

Hi, a few hours ago I had some problem with Gradle not syncing. I couldn't figure it out so I just deleted the whole tP locally and re-clone it from my fork.

Now I am facing a worse problem where nothing is working. I can't even run the seedu.address.Main now. I have been trying to solve it for a few hours already and tried to follow the set up guide very closely but to no avail. I'm pretty sure I'm missing out on something but somehow I can't figure it out. Gradle also continues to fail with this error Could not get unknown property 'com' for root project 'tp' of type org.gradle.api.Project. Any advice would really be of great help!

This is my current project structure Image 23-3-22 at 2 12 AM

Punpun1643 commented 2 years ago

Update: seems to be a problem on the caches files on my side. Followed the second comment this post and managed to solve it https://stackoverflow.com/questions/59422617/error-could-not-get-unknown-property-com-for-root-project-myapp-of-type-org 😄