在使用junit的Test做测试时,注解@Test报错”Test is not an annotation type”,发现是因为测试类的类名命名为了Test,所以导致错误。

测试类类名不能直接命名为“Test”!!!!!!!!!!!

junit的Test不能使用,报错信息:Test is not an annotation type

 

相关文章:

  • 2021-11-19
  • 2021-08-07
  • 2021-03-31
  • 2021-08-16
  • 2021-10-19
  • 2021-05-04
  • 2021-05-03
  • 2021-05-26
猜你喜欢
  • 2021-08-15
  • 2021-08-11
  • 2021-05-10
  • 2021-04-04
  • 2021-08-09
  • 2022-01-15
  • 2019-07-16
  • 2022-01-01
相关资源
相似解决方案