When trying to import the class in Oracle Forms Builder, ensure you are using the fully qualified class name.
For example, if your class is CatFactBean inside a package com.example, use:
import com.example.CatFactBean;
If there is no package declaration in your CatFactBean class, simply import it like this:
import CatFactBean;
Make sure the case of the class name matches exactly what is in the code.