Make sure all your classes now where each other are. It could also be that you're trying to run a main method in a class that doesn't have one, when you really meant to call another class which does...