1.因为你@Test时import的是@org.testng.annotations.Test所以会报错

解决方法:改为import org.junit.Test;就可以了

相关文章:

  • 2021-07-21
  • 2022-12-23
  • 2022-12-23
  • 2021-11-10
  • 2021-10-28
  • 2021-07-20
  • 2021-11-13
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-03-06
  • 2021-07-09
  • 2022-12-23
  • 2021-12-26
  • 2021-08-11
相关资源
相似解决方案