我已经用JPA Hibernate开发了一个SpringBoot应用程序,它工作得很好。现在我必须从测试开始,但我真的不知道如何解决这个错误:***************************
at org.springframework.boot.SpringApplication.refreshCont
我有一个Springboot应用程序,它最初设置在MySQL上,到目前为止一切正常。但是,现在我正在尝试使用H2数据库为JPA / DAO layer创建更多的单元测试。我看到一些在线演示,在Spring中,使用applicationContext-test测试上下文设置是一种常见的做法。public class ApplicationTest ext