title: ContextLoader - Context initialization failed
body: <p><strong>Unable to Start the deployed war file.
  I got the following error at the terminal</strong></p>
  
  <pre><code>[ERROR] 17:23:17 ContextLoader - Context initialization failed
  org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in resource loaded from byte array: Cannot resolve reference to bean 'blPersistenceUnitManager' while setting bean property 'persistenceUnitManager'; 
  nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'blPersistenceUnitManager': Injection of resource dependencies failed; 
  nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'blMergedDataSources' defined in resource loaded from byte array: Cannot resolve reference to bean 'webDS' while setting bean property 'sourceMap' with key [TypedStringValue: value [jdbc/web], target type [null]];     
  </code></pre>
  
  <p>The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.</p>
  
  <p><strong>Context.xml</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;Context&gt;
  
  &lt;!-- Default set of monitored resources --&gt;
  &lt;WatchedResource&gt;WEB-INF/web.xml&lt;/WatchedResource&gt;
  
  &lt;ResourceLink global="jdbc/web" name="jdbc/web" type="javax.sql.DataSource"/&gt;
  
  
  &lt;/Context&gt;
  </code></pre>
  
  <p><strong>Server.xml</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;Server port="8005" shutdown="SHUTDOWN"&gt;
      &lt;Listener SSLEngine="on" className="org.apache.catalina.core.AprLifecycleListener"/&gt;
      &lt;Listener className="org.apache.catalina.core.JasperListener"/&gt;
      &lt;Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener"/&gt;
      &lt;Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"/&gt;
      &lt;Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"/&gt;
      &lt;GlobalNamingResources&gt;
  
      &lt;Resource auth="Container" description="User database that can be updated and saved" factory="org.apache.catalina.users.MemoryUserDatabaseFactory" name="UserDatabase" pathname="conf/tomcat-users.xml" type="org.apache.catalina.UserDatabase"/&gt;
  
      &lt;Resource auth="Container" 
      driverClassName="com.mysql.jdbc.Driver" 
      initialSize="5" 
      maxActive="120" 
      maxIdle="5" 
      maxWait="5000" 
      name="jdbc/web" 
      username="root" 
      password="admin123" 
      poolPreparedStatements="true" 
      type="javax.sql.DataSource" 
      url="jdbc:mysql://localhost:3306/broadleaf" 
      validationQuery="select 1"/&gt;
      &lt;/GlobalNamingResources&gt;
  
     &lt;Service name="Catalina"&gt;
        &lt;Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443"/&gt;
  
        &lt;!-- Define an AJP 1.3 Connector on port 8009 --&gt;
        &lt;Connector port="8009" protocol="AJP/1.3" redirectPort="8443"/&gt;
        &lt;Engine defaultHost="localhost" name="Catalina"&gt;
  
           &lt;Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase"/&gt;
  
           &lt;Host appBase="webapps" autoDeploy="true" name="localhost" unpackWARs="true" xmlNamespaceAware="false" xmlValidation="false"&gt;
  
           &lt;/Host&gt;
        &lt;/Engine&gt;
    &lt;/Service&gt;
   &lt;/Server&gt;
  </code></pre>
  
  <p>Thank you for your valuable advice. I have edited the post with server.xml and context.xml.</p>
  
  <p>I am following broadleafcommerce's tutorial [<a href="http://www.broadleafcommerce.com/docs/core/current/getting-started]" rel="nofollow">http://www.broadleafcommerce.com/docs/core/current/getting-started]</a>. </p>
  
  <p>In order to configure <strong>Switching to MySql</strong> I have made changes as in this link [<a href="http://www.broadleafcommerce.com/docs/core/current/tutorials/getting-started-tutorials/switch-to-mysql-tutorial]" rel="nofollow">http://www.broadleafcommerce.com/docs/core/current/tutorials/getting-started-tutorials/switch-to-mysql-tutorial]</a></p>
  
  <p><strong>applicationContext-servlet.xml</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  
  &lt;beans xmlns="http://www.springframework.org/schema/beans"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:context="http://www.springframework.org/schema/context"
      xmlns:aop="http://www.springframework.org/schema/aop"
      xmlns:mvc="http://www.springframework.org/schema/mvc"
      xsi:schemaLocation="http://www.springframework.org/schema/beans
     http://www.springframework.org/schema/beans/spring-beans-3.2.xsd
     http://www.springframework.org/schema/context
     http://www.springframework.org/schema/context/spring-context-3.2.xsd
     http://www.springframework.org/schema/aop
     http://www.springframework.org/schema/aop/spring-aop-3.2.xsd
     http://www.springframework.org/schema/mvc
     http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd"&gt;
  
  
  &lt;context:component-scan base-package="org.broadleafcommerce.common.web"/&gt;
  &lt;context:component-scan base-package="org.broadleafcommerce.profile.web.controller"/&gt;
  &lt;context:component-scan base-package="org.broadleafcommerce.profile.web.core.service.login"/&gt;
  
  
  &lt;context:component-scan base-package="com.heatclinic.sample" /&gt;
  
  &lt;!-- Turn on AOP annotations (required by Broadleaf) --&gt;
  &lt;aop:config/&gt;
  
  
  &lt;bean class="org.broadleafcommerce.core.web.catalog.ProductHandlerMapping"&gt;
    &lt;property name="order" value="2"/&gt;
  &lt;/bean&gt;
  
  
  &lt;bean class="org.broadleafcommerce.cms.web.PageHandlerMapping"&gt;
    &lt;property name="order" value="3"/&gt;
  &lt;/bean&gt;
  
  
  &lt;bean class="org.broadleafcommerce.core.web.catalog.CategoryHandlerMapping"&gt;
    &lt;property name="order" value="4"/&gt;
  &lt;/bean&gt;
  
  
  &lt;context:component-scan base-package="com.heatclinic.controller" /&gt;
  
  
  &lt;mvc:annotation-driven/&gt;
  
  
  
  &lt;mvc:interceptors&gt;
      &lt;bean id="webContentInterceptor" class="org.broadleafcommerce.core.web.interceptor.NonResourceWebContentInterceptor"&gt;
          &lt;property name="cacheSeconds" value="0"/&gt;
          &lt;property name="useExpiresHeader" value="true"/&gt;
          &lt;property name="useCacheControlHeader" value="true"/&gt;
          &lt;property name="useCacheControlNoStore" value="true"/&gt;
      &lt;/bean&gt;
  
      &lt;bean class="org.springframework.web.servlet.i18n.LocaleChangeInterceptor"&gt;
          &lt;property name="paramName" value="blLocaleCode"/&gt;
      &lt;/bean&gt;
  &lt;/mvc:interceptors&gt;
  
  
  &lt;bean id="localeResolver" class="org.broadleafcommerce.common.web.BroadleafCookieLocaleResolver" /&gt;
  
  
  &lt;mvc:resources order="-10" location="/img/, classpath:/common_style/img/" mapping="/img/**" /&gt;
  &lt;mvc:resources order="-10" location="/fonts/, classpath:/common_style/fonts/" mapping="/fonts/**" /&gt;
  &lt;mvc:resources order="-10" location="WEB-INF/favicon.ico" mapping="/favicon.ico" /&gt;
  
  
  &lt;bean class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping"&gt;
      &lt;property name="order" value="-10" /&gt;
      &lt;property name="mappings"&gt;
          &lt;props&gt;
              &lt;prop key="/js/**"&gt;blJsResources&lt;/prop&gt;
              &lt;prop key="/css/**"&gt;blCssResources&lt;/prop&gt;
          &lt;/props&gt;
      &lt;/property&gt;
  &lt;/bean&gt;
  
  &lt;!-- Set up the view resolver to be used by Spring --&gt;
  &lt;bean class="org.broadleafcommerce.common.web.BroadleafThymeleafViewResolver"&gt;
      &lt;property name="templateEngine" ref="blWebTemplateEngine" /&gt;
      &lt;property name="order" value="1" /&gt;
      &lt;property name="cache" value="${thymeleaf.view.resolver.cache}" /&gt;
      &lt;property name="fullPageLayout" value="layout/fullPageLayout" /&gt;
      &lt;property name="characterEncoding" value="UTF-8" /&gt;
      &lt;property name="layoutMap"&gt;
          &lt;map&gt;
              &lt;entry key="account/" value="layout/accountLayout" /&gt;
              &lt;entry key="catalog/" value="NONE" /&gt;
              &lt;entry key="checkout/" value="layout/checkoutLayout" /&gt;
              &lt;entry key="checkout/confirmation" value="layout/fullPageNoNavLayout" /&gt;
              &lt;entry key="layout/" value="NONE" /&gt;
              &lt;entry key="content/NONE" value="NONE" /&gt;
          &lt;/map&gt;
      &lt;/property&gt;
  &lt;/bean&gt;
  
  
  &lt;bean id="blShippingInfoFormValidator" class="org.broadleafcommerce.core.web.checkout.validator.USShippingInfoFormValidator" /&gt;
  
  &lt;/beans&gt;
  </code></pre>
  
  <p>Even though I have added <strong>hibernate-3.2.7.ga.jar</strong> file to the lib directory, I get this exception -ClassLoadingException:Unable to load class [org.hibernate.dialect.MySQL5InnoDBDialect] . </p>
  
  <pre><code>[ERROR] 11:09:39 ContextLoader - Context initialization failed
  org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'blEntityManagerFactorySecureInfo' defined in resource loaded from byte array: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: blSecurePU] Unable to build EntityManagerFactory
  
  Caused by: javax.persistence.PersistenceException: [PersistenceUnit: blSecurePU] Unable to build EntityManagerFactory ....
  
  Caused by: org.hibernate.HibernateException: Dialect class not found: org.hibernate.dialect.MySQL5InnoDBDialect ...
  
  Caused by: org.hibernate.service.classloading.spi.ClassLoadingException: Unable to load class [org.hibernate.dialect.MySQL5InnoDBDialect ] ....
  
  Caused by: java.lang.ClassNotFoundException: Could not load requested class : org.hibernate.dialect.MySQL5InnoDBDialect ...
  </code></pre>
  
  <p>But the jar file do have the class.</p>
  
  <pre><code>3576 Wed Jun 03 16:19:06 PDT 2009 org/hibernate/dialect/MckoiDialect.class
  5326 Wed Jun 03 16:19:06 PDT 2009 org/hibernate/dialect/MimerSQLDialect.class
  595 Wed Jun 03 16:19:06 PDT 2009 org/hibernate/dialect/MySQL5Dialect.class
  648 Wed Jun 03 16:19:06 PDT 2009 org/hibernate/dialect/MySQL5InnoDBDialect.class
  9682 Wed Jun 03 16:19:06 PDT 2009 org/hibernate/dialect/MySQLDialect.class
  642 Wed Jun 03 16:19:06 PDT 2009 org/hibernate/dialect/MySQLInnoDBDialect.class
  544 Wed Jun 03 16:19:06 PDT 2009 org/hibernate/dialect/MySQLMyISAMDialect.class
  </code></pre>
  
  <p>And also I have not mentioned anything about the <strong>hibernate dependencies in the pom.xml</strong> file.</p>
  
  <p><strong>pom.xml</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
  &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
  &lt;groupId&gt;com.heatclinic&lt;/groupId&gt;
  &lt;artifactId&gt;ecommerce-website&lt;/artifactId&gt;
  &lt;version&gt;1.0&lt;/version&gt;
  &lt;packaging&gt;pom&lt;/packaging&gt;
  &lt;name&gt;ecommerce&lt;/name&gt;
  &lt;url&gt;http://www.blc-archetype.com&lt;/url&gt;
  &lt;properties&gt;
      &lt;blc.version&gt;3.1.8-GA&lt;/blc.version&gt;
      &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
  &lt;/properties&gt;
  &lt;description&gt;My Company's eCommerce Website&lt;/description&gt;
  &lt;repositories&gt;
      &lt;repository&gt;
          &lt;id&gt;public snapshots&lt;/id&gt;
          &lt;name&gt;public snapshots&lt;/name&gt;
          &lt;url&gt;http://nexus.broadleafcommerce.org/nexus/content/repositories/snapshots/&lt;/url&gt;
      &lt;/repository&gt;
  &lt;/repositories&gt;
  &lt;build&gt;
      &lt;pluginManagement&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
  
                  &lt;groupId&gt;org.eclipse.m2e&lt;/groupId&gt;
                  &lt;artifactId&gt;lifecycle-mapping&lt;/artifactId&gt;
                  &lt;version&gt;1.0.0&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;lifecycleMappingMetadata&gt;
                          &lt;pluginExecutions&gt;
                              &lt;pluginExecution&gt;
                                  &lt;pluginExecutionFilter&gt;
                                      &lt;groupId&gt;org.zeroturnaround&lt;/groupId&gt;
                                      &lt;artifactId&gt;jrebel-maven-plugin&lt;/artifactId&gt;
                                      &lt;versionRange&gt;[1.0,)&lt;/versionRange&gt;
                                      &lt;goals&gt;
                                          &lt;goal&gt;generate&lt;/goal&gt;
                                      &lt;/goals&gt;
                                  &lt;/pluginExecutionFilter&gt;
                                  &lt;action&gt;
                                      &lt;ignore /&gt;
                                  &lt;/action&gt;
                              &lt;/pluginExecution&gt;
                              &lt;pluginExecution&gt;
                                  &lt;pluginExecutionFilter&gt;
                                      &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                                      &lt;artifactId&gt;maven-antrun-plugin&lt;/artifactId&gt;
                                      &lt;versionRange&gt;[1.3,)&lt;/versionRange&gt;
                                      &lt;goals&gt;
                                          &lt;goal&gt;run&lt;/goal&gt;
                                      &lt;/goals&gt;
                                  &lt;/pluginExecutionFilter&gt;
                                  &lt;action&gt;
                                      &lt;ignore /&gt;
                                  &lt;/action&gt;
                              &lt;/pluginExecution&gt;
                              &lt;pluginExecution&gt;
                                  &lt;pluginExecutionFilter&gt;
                                      &lt;groupId&gt;
                                          org.codehaus.mojo
                                      &lt;/groupId&gt;
                                      &lt;artifactId&gt;
                                          build-helper-maven-plugin
                                      &lt;/artifactId&gt;
                                      &lt;versionRange&gt;
                                          [1.7,)
                                      &lt;/versionRange&gt;
                                      &lt;goals&gt;
                                          &lt;goal&gt;
                                              timestamp-property
                                          &lt;/goal&gt;
                                      &lt;/goals&gt;
                                  &lt;/pluginExecutionFilter&gt;
                                  &lt;action&gt;
                                      &lt;ignore&gt;&lt;/ignore&gt;
                                  &lt;/action&gt;
                              &lt;/pluginExecution&gt;
                              &lt;pluginExecution&gt;
                                  &lt;pluginExecutionFilter&gt;
                                      &lt;groupId&gt;
                                          org.codehaus.mojo
                                      &lt;/groupId&gt;
                                      &lt;artifactId&gt;
                                          keytool-maven-plugin
                                      &lt;/artifactId&gt;
                                      &lt;versionRange&gt;
                                          [1.5,)
                                      &lt;/versionRange&gt;
                                      &lt;goals&gt;
                                          &lt;goal&gt;clean&lt;/goal&gt;
                                          &lt;goal&gt;generateKeyPair&lt;/goal&gt;
                                      &lt;/goals&gt;
                                  &lt;/pluginExecutionFilter&gt;
                                  &lt;action&gt;
                                      &lt;ignore&gt;&lt;/ignore&gt;
                                  &lt;/action&gt;
                              &lt;/pluginExecution&gt;
                          &lt;/pluginExecutions&gt;
                      &lt;/lifecycleMappingMetadata&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.0.2&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;source&gt;1.6&lt;/source&gt;
                      &lt;target&gt;1.6&lt;/target&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.zeroturnaround&lt;/groupId&gt;
                  &lt;artifactId&gt;jrebel-maven-plugin&lt;/artifactId&gt;
                  &lt;version&gt;1.1.3&lt;/version&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
                  &lt;artifactId&gt;build-helper-maven-plugin&lt;/artifactId&gt;
                  &lt;version&gt;1.7&lt;/version&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.10&lt;/version&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-war-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.1.1&lt;/version&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-jar-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.3.2&lt;/version&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;artifactId&gt;maven-clean-plugin&lt;/artifactId&gt;
                  &lt;configuration&gt;
                      &lt;excludeDefaultDirectories&gt;true&lt;/excludeDefaultDirectories&gt;
                      &lt;filesets&gt;
  
                          &lt;fileset&gt;
                              &lt;directory&gt;target&lt;/directory&gt;
                              &lt;includes&gt;
                                  &lt;include&gt;**/*&lt;/include&gt;
                              &lt;/includes&gt;
                          &lt;/fileset&gt;
                      &lt;/filesets&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/pluginManagement&gt;
  &lt;/build&gt;
  
  &lt;profiles&gt;
      &lt;profile&gt;
          &lt;id&gt;default-profile&lt;/id&gt;
          &lt;activation&gt;
              &lt;activeByDefault&gt;true&lt;/activeByDefault&gt;
              &lt;file&gt;
                  &lt;exists&gt;${java.home}/../lib/tools.jar&lt;/exists&gt;
              &lt;/file&gt;
          &lt;/activation&gt;
          &lt;properties&gt;
              &lt;toolsjar&gt;${java.home}/../lib/tools.jar&lt;/toolsjar&gt;
          &lt;/properties&gt;
      &lt;/profile&gt;
      &lt;profile&gt;
          &lt;id&gt;mac-profile&lt;/id&gt;
          &lt;activation&gt;
              &lt;activeByDefault&gt;false&lt;/activeByDefault&gt;
              &lt;file&gt;
                  &lt;exists&gt;${java.home}/../Classes/classes.jar&lt;/exists&gt;
              &lt;/file&gt;
          &lt;/activation&gt;
          &lt;properties&gt;
              &lt;toolsjar&gt;${java.home}/../Classes/classes.jar&lt;/toolsjar&gt;
          &lt;/properties&gt;
      &lt;/profile&gt;
  &lt;/profiles&gt;
  &lt;dependencyManagement&gt;
      &lt;dependencies&gt;
          &lt;!-- Activated by the profiles above for the paths to tools.jar--&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.sun&lt;/groupId&gt;
              &lt;artifactId&gt;tools&lt;/artifactId&gt;
              &lt;version&gt;[1.6,)&lt;/version&gt;
             &lt;scope&gt;system&lt;/scope&gt;
             &lt;systemPath&gt;${toolsjar}&lt;/systemPath&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;com.heatclinic&lt;/groupId&gt;
              &lt;artifactId&gt;core&lt;/artifactId&gt;
              &lt;version&gt;1.0&lt;/version&gt;
              &lt;type&gt;jar&lt;/type&gt;
              &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
  
          &lt;!--Broadleaf libraries --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.broadleafcommerce&lt;/groupId&gt;
              &lt;artifactId&gt;broadleaf-common&lt;/artifactId&gt;
              &lt;version&gt;${blc.version}&lt;/version&gt;
              &lt;type&gt;jar&lt;/type&gt;
              &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.broadleafcommerce&lt;/groupId&gt;
              &lt;artifactId&gt;broadleaf-profile&lt;/artifactId&gt;
              &lt;version&gt;${blc.version}&lt;/version&gt;
              &lt;type&gt;jar&lt;/type&gt;
              &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.broadleafcommerce&lt;/groupId&gt;
              &lt;artifactId&gt;broadleaf-profile-web&lt;/artifactId&gt;
              &lt;version&gt;${blc.version}&lt;/version&gt;
              &lt;type&gt;jar&lt;/type&gt;
              &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.broadleafcommerce&lt;/groupId&gt;
              &lt;artifactId&gt;broadleaf-framework&lt;/artifactId&gt;
              &lt;version&gt;${blc.version}&lt;/version&gt;
              &lt;type&gt;jar&lt;/type&gt;
              &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.broadleafcommerce&lt;/groupId&gt;
              &lt;artifactId&gt;broadleaf-framework-web&lt;/artifactId&gt;
              &lt;version&gt;${blc.version}&lt;/version&gt;
              &lt;type&gt;jar&lt;/type&gt;
              &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.broadleafcommerce&lt;/groupId&gt;
              &lt;artifactId&gt;broadleaf-admin-module&lt;/artifactId&gt;
              &lt;version&gt;${blc.version}&lt;/version&gt;
              &lt;type&gt;jar&lt;/type&gt;
              &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.broadleafcommerce&lt;/groupId&gt;
              &lt;artifactId&gt;broadleaf-contentmanagement-module&lt;/artifactId&gt;
              &lt;version&gt;${blc.version}&lt;/version&gt;
              &lt;type&gt;jar&lt;/type&gt;
              &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.broadleafcommerce&lt;/groupId&gt;
              &lt;artifactId&gt;broadleaf-open-admin-platform&lt;/artifactId&gt;
              &lt;version&gt;${blc.version}&lt;/version&gt;
              &lt;type&gt;jar&lt;/type&gt;
              &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.broadleafcommerce&lt;/groupId&gt;
              &lt;artifactId&gt;integration&lt;/artifactId&gt;
              &lt;version&gt;${blc.version}&lt;/version&gt;
              &lt;type&gt;jar&lt;/type&gt;
              &lt;classifier&gt;tests&lt;/classifier&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
  
          &lt;!-- Other dependencies --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.hsqldb&lt;/groupId&gt;
              &lt;artifactId&gt;hsqldb&lt;/artifactId&gt;
              &lt;version&gt;2.3.1&lt;/version&gt;
              &lt;type&gt;jar&lt;/type&gt;
              &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;commons-dbcp&lt;/groupId&gt;
              &lt;artifactId&gt;commons-dbcp&lt;/artifactId&gt;
              &lt;version&gt;1.4&lt;/version&gt;
              &lt;type&gt;jar&lt;/type&gt;
              &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
              &lt;artifactId&gt;servlet-api&lt;/artifactId&gt;
              &lt;version&gt;2.5&lt;/version&gt;
              &lt;type&gt;jar&lt;/type&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.testng&lt;/groupId&gt;
              &lt;artifactId&gt;testng&lt;/artifactId&gt;
              &lt;version&gt;5.9&lt;/version&gt;
              &lt;type&gt;jar&lt;/type&gt;
              &lt;classifier&gt;jdk15&lt;/classifier&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.tomcat&lt;/groupId&gt;
              &lt;artifactId&gt;tomcat-jdbc&lt;/artifactId&gt;
              &lt;version&gt;7.0.30&lt;/version&gt;
              &lt;type&gt;jar&lt;/type&gt;
              &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;mysql&lt;/groupId&gt;
              &lt;artifactId&gt;mysql-connector-java&lt;/artifactId&gt;
              &lt;version&gt;5.1.26&lt;/version&gt;
              &lt;type&gt;jar&lt;/type&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt; 
      &lt;/dependencies&gt;
  &lt;/dependencyManagement&gt;
  &lt;modules&gt;
      &lt;module&gt;admin&lt;/module&gt;
      &lt;module&gt;core&lt;/module&gt;
      &lt;module&gt;site&lt;/module&gt;
  &lt;/modules&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>I don't find the file named <strong>applicationContext-servlet-cms-contentClient.xml</strong> in the project.</p>