Individual Java classes are included in a project without using Java Packaging.
Try placing your classes in Java Packaging.