When encountering the error "unable to find a suitable main class, please add a 'mainclass' property," which of the following steps is the most appropriate solution?
A. Adding the 'classpath' property to the project configuration
B. Including the 'mainclass' property in the project configuration file
C. Reinstalling the Java Development Kit (JDK)
D. Clearing the project cache and rebuilding