java.lang.ClassNotFoundException: org.hibernate.annotations.common.reflection.MetadataProvider
<pre><code>Exception in thread "main" java.lang.NoClassDefFoundError: org/hibernate/annotations/common/reflection/MetadataProvider
at org.hibernate.boot.internal.MetadataBuilderImpl.&lt;init&gt;(MetadataBuilderImpl.java:127)
at org.hibernate.boot.MetadataSources.getMetadataBuilder(MetadataSources.java:135)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:655)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:724)
at pojo.HibernateSessionFactory.&lt;clinit&gt;(HibernateSessionFactory.java:33)
at business.Operator.main(Operator.java:15)
Caused by: java.lang.ClassNotFoundException: org.hibernate.annotations.common.reflection.MetadataProvider
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 6 more
</code></pre>

<p><a href="http://paste.ubuntu.com/17922522/" rel="nofollow">My config file link</a></p>

<p>Can anybody tell me why and how to solve?</p>