java.lang.NoSuchMethodError: org.hibernate.cfg.Environment.verifyProperties

后端 未结 1 662
忘了有多久
忘了有多久 2020-12-21 23:08

While trying to build the session factory I get this. Very little turns up in an Internet search. But it\'s got me dead-in-the-water for days now. Thanks.

ja         


        
相关标签:
1条回答
  • 2020-12-21 23:52

    You have a conflict with hibernate-core.jar versions, the Map version was added only in later versions (around 4.2.X maybe?), check your Eclipse/Maven 'Dependency Hierarchy' tab to analyze version conflicts.

    public static void verifyProperties(Map<?,?> configurationValues)
    

    My problem was resolved only when I deleted my local Hibernate Maven repo and ran install again.

    0 讨论(0)
提交回复
热议问题