在使用junit的Test做测试时,注解@Test报错”Test is not an annotation type”,发现是因为测试类的类名命名为了Test,所以导致错误。 测试类类名不能直接命名为“Test”!!!!!!!!!!! 相关文章: 2021-08-11 2021-12-21 2021-05-10 2022-12-23 2022-12-23 2022-12-23 2021-04-04