控制台报错 Dependency ‘org.springframework.boot:spring-boot-starter-test:’ not found 解决方法: 打开右侧maven配置,点击下载所有依赖或者刷新,如图,就ok了 如果没有下载依赖的话就会报错