Java noclassdeffound error
•
Java
I'm trying to run a basic hibernate program
I try Google 'ing it and include the following jar files in my classpath:
> jboss-common-3.2. 3.jar > jboss-common-client-3.2. 3.jar
I'm missing some more jar files?
thank you
Edit:
I included the following jar files in my classpath: –
> jboss-logging-3.1. 0.CR1. jar
However, in the face of mistakes:
java.lang.NoSuchMethodError: org.jboss.logging.Logger.getMessageLogger(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object
Solution
It's JBoss logging Jar org / JBoss / logging / basiclogger is in JBoss logging Jar
You can find the list of dependent jars of this jar in the section of this link
This version should include the method
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码