IDEA测试类@Test注解出错解决办法 在IDEA,使用Maven,写测试类是@Test注解没有提示,并且导包import org.junit.Test;出错。 亲测有效博客:https://www.cnblogs.com/roseAT/p/10311871.html