美文网首页
spring 4.3.0整合hibernate(5.0 5.1)

spring 4.3.0整合hibernate(5.0 5.1)

作者: 姜姜姜Ning | 来源:发表于2016-07-07 17:31 被阅读0次

The signature of SessionFactoryImplementor.getProperties() changed in 5.2 to return Map rather than Properties. This leads to a NoSuchMethodError with 5.1 (and 5.0 too, I presume)

这是我当时在官网论坛上找到的,大意就是spring最新的版本在整合hibernate 5.0 or 5.1的时候会出现NoSuchMethodError的报错。原因是因为因为hibernate5.2,spring改变了返回的类型导致。希望spring官方赶紧修复此bug,做下记录。

相关文章

网友评论

      本文标题:spring 4.3.0整合hibernate(5.0 5.1)

      本文链接:https://www.haomeiwen.com/subject/pkyljttx.html