【idea测试类@test报红,无法导包问题】
项目场景:`提示:想测试一下写的数据库工具类问题描述测试类不可以用@Test 爆红,根据IDEA提示任然不可以解决,`原因分析:缺少两个工具类的jar包解决方案:下载两个包就好了hamcrest-core-1.1.jar中央仓库地址:https://mvnrepository.com/artifact/org.hamcrest/hamcrest-core/1.1junit-4.12.jar中央仓库地址:https://mvnrepository.com/artifact/ju
原创
2022-04-15 21:42:54 ·
1963 阅读 ·
0 评论