I am having problems

I am calling a new instance of a class

Payroll employee = new Payroll();

and the classes are in the same directory and everything. I have compiled the Payroll class and it compiles right but then i try to call Exercise which is where the instance Payroll() is and it gives me an error:

cannot resolve symbol.

I have tried putting an import statement in ie. import Payroll.*;
and there is a package Folder statement at the beginning but i can't get it to work.

Whats up?