问题复现 Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-cli) on project finish_designing: There are test failures. 原因 未开启mysql的服务,即,无法连接数据库 解决方案 开启数据库服务net start mysql