【发布时间】:2019-03-14 18:55:48
【问题描述】:
我是 Selenium Java 的新手。在运行 java 类时,它显示以下错误:
[RemoteTestNG] 检测到 TestNG 版本 6.14.3 java.lang.annotation.AnnotationFormatError:重复注释 类:接口 org.testng.annotations.BeforeMethod: @org.testng.annotations.BeforeMethod(inheritGroups=true, 依赖组=[], 依赖方法=[], firstTimeOnly=false, groups=[], description=, alwaysRun=false,
Duplicate annotation 是什么意思,我应该在哪里调试?
Env:Eclipse Neon、Mac、Maven 项目、TestNg 框架。
【问题讨论】: