Junit 犯的错误 Test is not an annotation type

今天写测试类,报错Test is not an annotation type

经过仔细查看才发现是因为测试类直接写成Test了,只要将其改为其他即可

猜你喜欢

转载自blog.csdn.net/fjz_lihuapiaoxiang/article/details/85002709