Hibernate 5 + Glassfish 4.1.1: java.lang.NoSuchMethodError: org.jboss.logging.Logger.debugf(Ljava/lang/String;I)V

前端 未结 3 1106
野的像风
野的像风 2021-01-18 18:57

When I add Hibernate 5 to my website, I can\'t get it to work in Glassfish 4.1.1. I always get an error

java.lang.NoSuchMethodError: org.jboss.logg

3条回答
  •  悲&欢浪女
    2021-01-18 19:26

    Try to clean glassfish osgi-cache folder in your domain. You can find details in this Payara github issue: https://github.com/payara/Payara/issues/554 (Payara is a fork of Glassfish with additional features, so basic mechanics remain the same as in Glassfish)

提交回复
热议问题