title: Error: No persistence units parsed from {classpath*:META-INF/persistence.xml}
body: <p>I am trying to get Spring and Hibernate working without a persistence.xml. I am setting up my entities package scanner on my context.xml file, like this:</p>
  
  <pre><code>&lt;bean id="sessionFactory" class="org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean"&gt;
      &lt;property name="dataSource" ref="dataSource"/&gt;
      &lt;property name="configurationClass" value="org.hibernate.cfg.AnnotationConfiguration"/&gt;
      &lt;property name="hibernateProperties" ref="hibernatePropertiesConfigurer"/&gt;
      &lt;property name="packagesToScan" value="com.therubythree.simpleapi.entities"/&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>What am I missing? </p>
  
  <p>I keep getting the error:</p>
  
  <pre><code>No persistence units parsed from {classpath*:META-INF/persistence.xml}
  </code></pre>