我将使用spring 3
and创建简单的休息服务hibernate 3
。由于基于 hibernate 3 的遗留业务组件,我没有机会使用更高版本的 spring。
为此,我尝试使用SpringApplication.run
, 打赌收到以下异常:
Exception in thread "main" java.lang.IllegalAccessError: tried to access method org.springframework.core.io.support.SpringFactoriesLoader.loadFactoryNames
是否可以spring-boot-maven-plugin
与旧的弹簧版本一起使用?很高兴知道这个方向的任何替代方法。