No public methods found in script class: '%1'

Error code -10151
Error constant EL_JAVA_NO_PUBLIC_METHODS
Parameter 1 The class name.
 Probable cause