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

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

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

原文地址:https://www.cnblogs.com/zhangyuanbo/p/11223894.html