【发布时间】:2016-04-04 12:08:17
【问题描述】:
我将使用spring 3 和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 与旧的spring 版本一起使用?很高兴知道这个方向的任何替代方法。
【问题讨论】:
标签: java spring-3 hibernate3