Caused by: java.lang.IllegalStateException: SpringJUnit4ClassRunner requires JUnit 4.12 or higher 这种出错的原因是 junit的版本太低了,需要更新junit 4.12及其以上的版本。