title: Error "java.lang.NoSuchMethodError: org.jboss.logging.Logger.getMessageLogger"
body: <p>I am trying to build 1 hybrid test project using spring + hibernate. After deploying... I am getting frustrated with this error.. and searched in google but still not getting it working... </p>
  
  <pre><code>Caused by: java.lang.NoSuchMethodError: org.jboss.logging.Logger.getMessageLogger(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;
  at org.hibernate.annotations.common.util.impl.LoggerFactory.make(LoggerFactory.java:34)
  at org.hibernate.annotations.common.Version.&lt;clinit&gt;(Version.java:34)
  at org.hibernate.annotations.common.reflection.java.JavaReflectionManager.&lt;clinit&gt;(JavaReflectionManager.java:73)
  at org.hibernate.cfg.AnnotationConfiguration.reset(AnnotationConfiguration.java:311)
  at org.hibernate.cfg.Configuration.&lt;init&gt;(Configuration.java:216)
  at org.hibernate.cfg.Configuration.&lt;init&gt;(Configuration.java:220)
  at org.hibernate.cfg.AnnotationConfiguration.&lt;init&gt;(AnnotationConfiguration.java:168)
  </code></pre>
  
  <p>Trying jboss-logger 3.1.0.CR2, as well as a variety of different jboss-logging, different versions.</p>
  
  <p>How to resolve it?</p>
  
  <p>Below is image attached to have a look if any version concurrencies are present or any dependencies are missing...
  <img src="https://i.stack.imgur.com/RCRpU.png" alt="Library structure for project"></p>