在project节点上右击,Build Path->Add Libraries->JUnit
Eclipse Oxygen.2 Release (4.7.2)添加JUnit
原文:https://www.cnblogs.com/144823836yj/p/10660772.html