项目跑不起来,报错如下:java.lang.NoClassDefFoundError: org/testng/IInvokedMethodListener2
解决方法:升级了allure版本号为2.13.2
<dependency>
<groupId>io.qameta.allure</groupId>
<artifactId>allure-testng</artifactId>
<version>2.13.2</version>
<scope>test</scope>
</dependency>
报错2:
解决方法:
解决问题参考文档:https://zhuanlan.zhihu.com/p/348235776