1.右键src新建Source folder 2.右键jar包Build Path然后Configure Build Path,点击Add Library选JUnit..然后finish 转载于:https://www.cnblogs.com/Linger-wj/p/3833891.html