problem debugging class

I am new to Intellij. In my project I successfully ran a class as an application by specifying the class and pressing run. When I try to debug it by pressing debug button I get a pop-up saying:
"Could not find the main class, program will exit!"

and in the console window it says:

java.lang.NoClassDefFoundError: test/nimblefish/input/CSVReaderTest
Exception in thread "main"

I do have a main method (the program runs, afterall)

What could possibly be wrong?

Thanks

0

Please sign in to leave a comment.