title: Add SDN-4 to GF-3: Exception while loading the app: IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException
body: <p>To work with a neo4j-graphdatabase standalone server i add the dependency of SDN 3.1.2 to my pom. </p>
  
  <pre><code> &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.data&lt;/groupId&gt;
          &lt;artifactId&gt;spring-data-neo4j-rest&lt;/artifactId&gt;
          &lt;version&gt;3.1.2.RELEASE&lt;/version&gt;
   &lt;/dependency&gt;
  </code></pre>
  
  <p>Because of the Neo4jCdiRepositoryExtension i can work with spring-data-neo4j without the complete Spring-Framework (via CDI).</p>
  
  <p>Now i want to update my SDN Version to 4.0.0.M1.</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;org.springframework.data&lt;/groupId&gt;
      &lt;artifactId&gt;spring-data-neo4j&lt;/artifactId&gt;
      &lt;version&gt;4.0.0.M1&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>I have to create my own Neo4jCdiRepositoryExtension, this seems really easy. The deploy-process build my new extensions. 
  To use my extensions i need this class that provide all needed configurations:</p>
  
  <pre><code>@ApplicationScoped
  public class Neo4jConfigurationProvider {
  
  @Resource(lookup = "rest/neo4j")
  private String baseUriString;
  private static final String PERSISTENCE_ROOT = "...";
  private SessionFactory sessionFactory;
  private Neo4jServer neo4jServer;
  private Session session;
  
  @PostConstruct
  public void init() {
      neo4jServer = new RemoteServer(baseUriString);
      sessionFactory = new SessionFactory(PERSISTENCE_ROOT + ".person", PERSISTENCE_ROOT + ".relation",
              PERSISTENCE_ROOT + ".relations_type");
      session = sessionFactory.openSession(baseUriString);
  }
  
  @Produces
  public SessionFactory sessionFactory() {
      return sessionFactory;
  }
  
  @Produces
  public Neo4jServer neo4jServer() {
      return neo4jServer;
  }
  
  @Produces
  public Neo4jTemplate neo4jTemplate() {
      return new Neo4jTemplate(session);
  }
  }
  </code></pre>
  
  <p>My glassfish 3 server give me this error message if i want to deploy it: </p>
  
  <pre><code>remote failure: Error occurred during deployment: Exception while loading the app :
  java.lang.IllegalStateException: ContainerBase.addChild: start: 
  org.apache.catalina.LifecycleException: 
  org.apache.catalina.LifecycleException: 
  com.sun.jersey.spi.inject.Errors$ErrorMessagesException. 
  Please see server.log for more details.
  </code></pre>
  
  <p>My question now is: <strong>How can i fix this error?</strong></p>