Hibernate 5 java.lang.NoSuchMethodError org.jboss.logging.Logger.debugf

后端 未结 15 1901
天涯浪人
天涯浪人 2020-12-01 09:21

I have a problem when I deploy a webapp with hibernate 5

Caused by: java.lang.NoSuchMethodError: org.jboss.logging.Logger.debugf(Ljava/lang/String;I)V
at org         


        
15条回答
  •  自闭症患者
    2020-12-01 09:24

    You can use Eclipse to find out which jar is causing the problem:

    • Setup a project with all your jars on the classpath
    • Navigate -> Open Type...
    • Type in org.jboss.logging.Logger

    This will give you a list of jars which include the class. One of these is out of date and needs to be excluded (refer to other answers for variations on this).

提交回复
热议问题