java.lang.NoSuchMethodError: org.hibernate.internal.CoreMessageLogger.debugf(Ljava/lang/String;I)V

前端 未结 3 831
鱼传尺愫
鱼传尺愫 2021-01-17 18:00

I have one simple @Singleton whitin Java EE project that parses data from internet and saves it with Hibernate to PostgreSQL.

@Startup
@Singleton         


        
3条回答
  •  难免孤独
    2021-01-17 18:49

    The silver bullet for fixing all these maddening version compatibility issues, is to use the Spring IO Platform

    http://platform.spring.io/platform/

    which does dependency management for everything in Spring via Maven or Gradle.

    (After this you do not have to tear your hair and worry about arcane version issues that the typical developer has to keep track of and suffer through every few months when updating or adding projects).

    Also Note: You also need to make sure that all your modules (in a multi-module project) share same version numbers. It sounds obvious but one can forget this when adding modules.

提交回复
热议问题