#While in past commits can't build my project anymore

13 messages · Page 1 of 1 (latest)

thorn ledge
#

I'm trying to check if a project of mine worked before some changes that other people made to it (I'm using git) but if I checkout on the commit the project won't start anymore and it says: Error: Could not find or load main class
Caused by: java.lang.ClassNotFoundException: ---- what can I do?

winter sedgeBOT
#

This post has been reserved for your question.

Hey @thorn ledge! Please use /close or the Close Post button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

thorn ledge
#

I added the sources folder by hand to the project structure in intellij but it doesn't recognize any symbol...

#

@tribal fractal @dreamy depot any ideas?

#

I tried to reload the maven project and all the project from disk but to no avail

tribal fractal
#

...

dreamy depot
#

...

thorn ledge
#

I didn't mean to bother you... just wanted to know if it's something fairly straightforward or... idk

thorn ledge
#

I found out that the package name doesn't match the file path name...

thorn ledge
#

something is wrong with intellij idk what it is

#

idk if I can choose any commit and start the application from there

#

without rollbacking all the code to that point