ClassNotFoundExeception
Answered
Hi,
I have problems running maven projects which I download. IntelliJ gives me ClassNotFoundException. Which I can't understand why, since I'm running a method within the code and i have tried rebuilding, removing cache, restarting. The maven file has one dependency which IntelliJ doesn't recognize but i doubt that it's the problem since my friend's IntelliJ also has this error and he can run his code fine.
please help me I have spent the last 4 hours looking for a solution. Two screen shots of my IntelliJ window from two different programs is attached. I also have a maven project which i created myself that i can run just fine.


Please sign in to leave a comment.
Hello,
Please try to remove all IDE related data (.iml file and .idea folder) and reimport project as Maven project using pom.xml.
Hi,
I already tried several projects and there is an update to my problem in this link.
https://stackoverflow.com/questions/66528270/intellij-directories-error-class-not-found
It seems IntelliJ can't find classes in a certain directory in my computer.
I would really like to find out why?
I see problem is revolved on StackOverflow.