IDEA - 解决“idea 环境:junit:4.11 测试 mybatis 代码,无法导入 org.junit.Test 包”问题

问题出现

  • 一直无法用 alt+enter 键导入 org.junit.Test 包,maven 下已经有了 junit 的源码包,项目的 libraries 都有 jar 包

解决方法

  • 删除<scope>test</scope>标签
  • 问题解决
posted @ 2019-08-19 00:36  学习趁早  阅读(4920)  评论(0编辑  收藏  举报