title: Could not load AnnotationConfiguration hibernate ,when internet is not connected
body: <p>i am using hibernate 4.0 and mysql 5.6 with eclipse luna(v4.4.1),
  i am using hibernate annotations in my project. 
  When i make changes to any table of DB, I always generate hibernate annotations automatically via eclipse hibernate configurations. 
  my question is that:
  when i do not connect internet and want to generate hibernate annotations i get this ERROR :  [Classpath]: Could not load AnnotationConfiguration (screen shot also attached) and when i connect to internet i do not face this error.
  is this bug or feature ?? if this is feature then how can i generate hibernate annotations offline?
  thanks!
  <img src="https://i.stack.imgur.com/MYMkk.png" alt="enter image description here"></p>
  
  <p><strong>hibernate.cfg.xml</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE hibernate-configuration PUBLIC
          "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
          "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"&gt;
  &lt;hibernate-configuration&gt;
      &lt;session-factory&gt;
          &lt;property name="hibernate.connection.driver_class"&gt;com.mysql.jdbc.Driver&lt;/property&gt;
          &lt;property name="hibernate.connection.password"&gt;myroot&lt;/property&gt;
          &lt;property name="hibernate.connection.url"&gt;jdbc:mysql://192.168.72.128:3306/hesco&lt;/property&gt;
          &lt;property name="hibernate.connection.username"&gt;myroot&lt;/property&gt;
      &lt;/session-factory&gt;
  &lt;/hibernate-configuration&gt;
  </code></pre>