我正在尝试构建一个包含常用方法的 groovy 类。收到此错误,不知道如何解决
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
Compilation incomplete: expected to find the class pages.manage.Common in file:/Users/jsmithers/groovy/Development/groovy/automation/qa-automation/pages/manage/Common.groovy, but the file contains the classes: Common
这是我的其他脚本中的导入行
import pages.manage.*
想法?