Java NoClassDefFound Error

后端 未结 4 1678
不知归路
不知归路 2020-12-31 14:43

I am trying to run a basic Hibernate program. When I run it, I am getting the below error

java.lang.NoClassDefFoundError: org/jboss/logging/BasicLogge

相关标签:
4条回答
  • 2020-12-31 14:47

    You need jboss-logging.jar

    You can get it from here

    0 讨论(0)
  • 2020-12-31 15:02

    Yes jboss-logging.jar org/jboss/logging/BasicLogger is inside jboss-logging.jar

    You can find list of dependent jar for this jar in used by section in this link.

    This version should contain the method.

    0 讨论(0)
  • 2020-12-31 15:07

    If those files already exist, try adding them to your Java Build Path. You can use this as reference: Java Build Path

    0 讨论(0)
  • 2020-12-31 15:13

    To solve

     java.lang.NoSuchMethodError: org.jboss.logging.Logger.getMessageLogger(Ljava/lang/Class;Ljava/lang/String;)Lj‌​ava/lang/Object
    

    use the JAR file (jboss-client-7.1.0.Final.jar) this will help you to solve solve your error

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