title: Grails 2.4.3 + Neo4j Plugin = No bean named 'sessionFactory'
body: <p>I want to create a sample app in Grails with Neo4J. (on IntelliJ)</p>
  
  <p>After creating a simple app and added the necessary configurations inside Buildconfig.groovy</p>
  
  <p><strong>Repo</strong> </p>
  
  <pre><code>mavenRepo 'http://m2.neo4j.org/content/repositories/releases/'
  </code></pre>
  
  <p><strong>Plugin</strong></p>
  
  <pre><code>    compile ":neo4j:2.0.0-M02"
  </code></pre>
  
  <p>I want to use MySql and Neo4J at the same time (adding mapping inside the domain model, when I want neo4j).</p>
  
  <p>But I have this error:</p>
  
  <pre><code> Error |
  2014-12-14 19:05:59,261 [localhost-startStop-1] ERROR context.GrailsContextLoaderListener  - Error initializing the application: No bean named 'sessionFactory' is defined
  Message: No bean named 'sessionFactory' is defined
      Line | Method
  -&gt;&gt;  104 | postProcessBeanFactory in org.grails.datastore.gorm.plugin.support.PersistenceContextInterceptorAggregator
  </code></pre>
  
  <p>What am I doing wrong ?</p>