【Junit】The import org.junit.Test conflicts with a type defined in the same file报错
引入Junit后,进行单元测试,莫名其妙报了个这样的错误The import org.junit.Test conflicts with a type defined in the same file原因一:常规原因,导入的jar包相冲突原因二:狗血原因,写junit测试的Java类名为Test.java我的错误是类名用了Test。欲哭无泪!