spring-boot 单元测试报错 Invalid test class *** spring-boot 单元测试报错: Invalid test class ***:No runnable methods 原因:Test类导错包了 import org.junit.jupiter.api.Test; 错误的包 解决:更换包路径 import org.junit.Test;