IDEA项目使用@Test注解时出现,@org.junit.Test 2022-11-01 08:46:18 Java 项目写测试类@Test注解时出现,@org.junit.Test ** 问题描述** Java 项目写测试类@Test注解时出现,@org.junit.Test@org.junit.Testpublicvoidtest(){System.out.println("hello World");}解决方案: 发现类名叫Test ,更改类名后,问题解决