title: Context initialization failed java.lang.NoClassDefFoundError: com/hazelcast/core/HazelcastInstance
body: <p>I am trying to create a spring MVC application. I have a parent pom, a common project for models, a channel project which contains all controller and a business logic project. 
  Apart from channel project, both are jar and are included as dependencies in channel project. Now Whenever I am trying to start my server it's looking for hazelcast dependency however I am not using hazel cast at all in my </p>
  
  <p>Project specifications
  Spring 4.3.12.RELEASE
  STS : 3.9.1
  Java JDK 1.8.61</p>
  
  <p>Server : Apache Tomcat 9
           Pivotal server 3.0-3.2</p>
  
  <p>web.xml</p>
  
  <hr>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns="http://java.sun.com/xml/ns/javaee"
      xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
      id="WebApp_ID" version="3.0"&gt;
      &lt;display-name&gt;spring-global-common-channels&lt;/display-name&gt;
      &lt;welcome-file-list&gt;
          &lt;welcome-file&gt;index.html&lt;/welcome-file&gt;
          &lt;welcome-file&gt;index.htm&lt;/welcome-file&gt;
          &lt;welcome-file&gt;index.jsp&lt;/welcome-file&gt;
          &lt;welcome-file&gt;default.html&lt;/welcome-file&gt;
          &lt;welcome-file&gt;default.htm&lt;/welcome-file&gt;
          &lt;welcome-file&gt;default.jsp&lt;/welcome-file&gt;
      &lt;/welcome-file-list&gt;
      &lt;!-- needed for ContextLoaderListener --&gt;
      &lt;context-param&gt;
          &lt;param-name&gt;contextConfigLocation&lt;/param-name&gt;
          &lt;param-value&gt;classpath:group/sk/common/resources/spring-application-context.xml&lt;/param-value&gt;
      &lt;/context-param&gt;
  
      &lt;!-- Bootstraps the root web application context before servlet initialization --&gt;
      &lt;listener&gt;
          &lt;listener-class&gt;org.springframework.web.context.ContextLoaderListener&lt;/listener-class&gt;
      &lt;/listener&gt;
      &lt;!-- The front controller of this Spring Web application, responsible for 
          handling all application requests --&gt;
      &lt;servlet&gt;
          &lt;servlet-name&gt;springDispatcherServlet&lt;/servlet-name&gt;
          &lt;servlet-class&gt;org.springframework.web.servlet.DispatcherServlet&lt;/servlet-class&gt;
          &lt;init-param&gt;
              &lt;param-name&gt;contextConfigLocation&lt;/param-name&gt;
              &lt;param-value&gt;classpath:group/sk/common/resources/spring-application-context.xml&lt;/param-value&gt;
          &lt;/init-param&gt;
          &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;
      &lt;/servlet&gt;
  
      &lt;!-- Map all requests to the DispatcherServlet for handling --&gt;
      &lt;servlet-mapping&gt;
          &lt;servlet-name&gt;springDispatcherServlet&lt;/servlet-name&gt;
          &lt;url-pattern&gt;/&lt;/url-pattern&gt;
      &lt;/servlet-mapping&gt;
  &lt;/web-app&gt;
  </code></pre>
  
  <p>spring-application-context.xml</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:c="http://www.springframework.org/schema/c"
      xmlns:context="http://www.springframework.org/schema/context"
      xmlns:jdbc="http://www.springframework.org/schema/jdbc"
      xmlns:mvc="http://www.springframework.org/schema/mvc"
      xmlns:p="http://www.springframework.org/schema/p"
      xmlns:tx="http://www.springframework.org/schema/tx"
      xmlns:util="http://www.springframework.org/schema/util"
      xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
          http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.3.xsd
          http://www.springframework.org/schema/jdbc http://www.springframework.org/schema/jdbc/spring-jdbc-4.3.xsd
          http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-4.3.xsd
          http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.3.xsd
          http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-4.3.xsd"&gt;
      &lt;context:annotation-config /&gt;
      &lt;context:component-scan base-package="*"&gt;&lt;/context:component-scan&gt;
      &lt;mvc:annotation-driven /&gt;
      &lt;tx:annotation-driven /&gt;
      &lt;mvc:cors&gt;
          &lt;mvc:mapping path="*localhost:8080*" /&gt;
      &lt;/mvc:cors&gt;
  
  &lt;/beans&gt;
  </code></pre>
  
  <p>Error Trace : </p>
  
  <hr>
  
  <blockquote>
    <p>2018-02-11 11:57:04,215  INFO [main] DefaultListableBeanFactory:828 -
    Overriding bean definition for bean 'mvcHandlerMappingIntrospector'
    with a different definition: replacing [Root bean: class
    [org.springframework.web.servlet.handler.HandlerMappingIntrospector];
    scope=; abstract=false; lazyInit=true; autowireMode=0;
    dependencyCheck=0; autowireCandidate=true; primary=false;
    factoryBeanName=null; factoryMethodName=null; initMethodName=null;
    destroyMethodName=null] with [Root bean: class [null]; scope=;
    abstract=false; lazyInit=true; autowireMode=3; dependencyCheck=0;
    autowireCandidate=true; primary=false;
    factoryBeanName=delegatingWebMvcConfiguration;
    factoryMethodName=mvcHandlerMappingIntrospector; initMethodName=null;
    destroyMethodName=(inferred); defined in
    org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration]
    2018-02-11 11:57:04,297 ERROR [main] ContextLoader:355 - Context
    initialization failed  java.lang.NoClassDefFoundError:
    com/hazelcast/core/HazelcastInstance  at
    java.lang.Class.getDeclaredMethods0(Native Method)    at
    java.lang.Class.privateGetDeclaredMethods(Class.java:2701)    at
    java.lang.Class.getDeclaredMethods(Class.java:1975)   at
    org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:613)
      at
    org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:524)
      at
    org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:510)
      at
    org.springframework.util.ReflectionUtils.getUniqueDeclaredMethods(ReflectionUtils.java:570)
      at
    org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod(AbstractAutowireCapableBeanFactory.java:697)
      at
    org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineTargetType(AbstractAutowireCapableBeanFactory.java:640)
      at
    org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:609)
      at
    org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1484)
      at
    org.springframework.beans.factory.support.DefaultListableBeanFactory.doGetBeanNamesForType(DefaultListableBeanFactory.java:425)
      at
    org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:395)
      at
    org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:96)
      at
    org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:687)
      at
    org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:525)
      at
    org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:443)
      at
    org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:325)
      at
    org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
      at
    org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4643)
      at
    org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5105)
      at
    org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      at
    org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1425)
      at
    org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1415)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)     at
    org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
      at
    java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
      at
    org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:941)
      at
    org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:839)
      at
    org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      at
    org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1425)
      at
    org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1415)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)     at
    org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
      at
    java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
      at
    org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:941)
      at
    org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:258)
      at
    org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      at
    org.apache.catalina.core.StandardService.startInternal(StandardService.java:422)
      at
    org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      at
    org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:770)
      at
    org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:671)    at
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)   at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)     at
    org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:353)   at
    org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:493) Caused
    by: java.lang.ClassNotFoundException:
    com.hazelcast.core.HazelcastInstance  at
    org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1275)
      at
    org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1104)
      ... 49 more 2018-02-11 11:57:04,318  INFO [main]
    XmlWebApplicationContext:984 - Closing Root WebApplicationContext:
    startup date [Sun Feb 11 11:56:45 IST 2018]; root of context hierarchy
    2018-02-11 11:57:04,328  WARN [main] XmlWebApplicationContext:1002 -
    Exception thrown from LifecycleProcessor on context close 
    java.lang.IllegalStateException: LifecycleProcessor not initialized -
    call 'refresh' before invoking lifecycle methods via the context: Root
    WebApplicationContext: startup date [Sun Feb 11 11:56:45 IST 2018];
    root of context hierarchy     at
    org.springframework.context.support.AbstractApplicationContext.getLifecycleProcessor(AbstractApplicationContext.java:427)
      at
    org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:999)
      at
    org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:958)
      at
    org.springframework.web.context.ContextLoader.closeWebApplicationContext(ContextLoader.java:583)
      at
    org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:116)
      at
    org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4690)
      at
    org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5327)
      at
    org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:257)
      at
    org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:187)
      at
    org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1425)
      at
    org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1415)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)     at
    org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
      at
    java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
      at
    org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:941)
      at
    org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:839)
      at
    org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      at
    org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1425)
      at
    org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1415)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)     at
    org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
      at
    java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
      at
    org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:941)
      at
    org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:258)
      at
    org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      at
    org.apache.catalina.core.StandardService.startInternal(StandardService.java:422)
      at
    org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      at
    org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:770)
      at
    org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:671)    at
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)   at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)     at
    org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:353)   at
    org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:493)
    2018-02-11 11:57:04,329 DEBUG [main] DefaultListableBeanFactory:512 -
    Destroying singletons in
    org.springframework.beans.factory.support.DefaultListableBeanFactory@7fef2b7a:
    defining beans
    [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,org.springframework.context.event.internalEventListenerProcessor,org.springframework.context.event.internalEventListenerFactory,channelCtrlServiceImpl,proxyAsyncConfiguration,schedulingConfiguration,MBeanExportConfiguration,loadTimeWeavingConfiguration,proxyCachingConfiguration,hibernateConfig,springHttpSessionConfiguration,jdbcHttpSessionConfiguration,gemFireHttpSessionConfiguration,mongoHttpSessionConfiguration,redisHttpSessionConfiguration,hazelcastHttpSessionConfiguration,proxyTransactionManagementConfiguration,delegatingWebMvcConfiguration,mvcContentNegotiationManager,org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping,mvcCorsConfigurations,org.springframework.format.support.FormattingConversionServiceFactoryBean#0,org.springframework.validation.beanvalidation.OptionalValidatorFactoryBean#0,org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter,mvcUriComponentsContributor,org.springframework.web.servlet.handler.MappedInterceptor#0,org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver#0,org.springframework.web.servlet.mvc.annotation.ResponseStatusExceptionResolver#0,org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver#0,org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping,org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter,org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter,mvcHandlerMappingIntrospector,org.springframework.transaction.config.internalTransactionalEventListenerFactory,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,org.springframework.context.annotation.internalAsyncAnnotationProcessor,org.springframework.context.annotation.internalScheduledAnnotationProcessor,mbeanExporter,loadTimeWeaver,org.springframework.cache.config.internalCacheAdvisor,cacheOperationSource,cacheInterceptor,sessionEventHttpSessionListenerAdapter,springSessionRepositoryFilter,springSessionJdbcOperations,sessionRepository,propertySourcesPlaceholderConfigurer,sessionRegionTemplate,ClusteredSpringSessions,sessionRegionAttributes,principalNameIndex,sessionAttributesIndex,mongoSessionRepository,redisMessageListenerContainer,sessionRedisTemplate,enableRedisKeyspaceNotificationsInitializer,transactionAttributeSource,transactionInterceptor,requestMappingHandlerMapping,mvcPathMatcher,mvcUrlPathHelper,viewControllerHandlerMapping,beanNameHandlerMapping,resourceHandlerMapping,mvcResourceUrlProvider,defaultServletHandlerMapping,requestMappingHandlerAdapter,mvcConversionService,mvcValidator,httpRequestHandlerAdapter,simpleControllerHandlerAdapter,handlerExceptionResolver,mvcViewResolver];
    root of factory hierarchy</p>
  </blockquote>
  
  <p>Parent Pom:</p>
  
  <pre><code>&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.sk.springboot.demo&lt;/groupId&gt;
      &lt;artifactId&gt;spring-global-common-parent&lt;/artifactId&gt;
      &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
      &lt;packaging&gt;pom&lt;/packaging&gt;
      &lt;name&gt;spring-global-common-parent&lt;/name&gt;
      &lt;description&gt;spring-global-common-parent&lt;/description&gt;
      &lt;properties&gt;
          &lt;spring.framework.version&gt;4.3.12.RELEASE&lt;/spring.framework.version&gt;
          &lt;java.version&gt;1.8&lt;/java.version&gt;
          &lt;jackson.version&gt;2.9.3&lt;/jackson.version&gt;
          &lt;hibernate.version&gt;5.2.12.Final&lt;/hibernate.version&gt;
          &lt;slf4j.version&gt;1.7.25&lt;/slf4j.version&gt;
          &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
          &lt;project.reporting.outputEncoding&gt;UTF-8&lt;/project.reporting.outputEncoding&gt;
      &lt;/properties&gt;
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework&lt;/groupId&gt;
              &lt;artifactId&gt;spring-context&lt;/artifactId&gt;
              &lt;version&gt;${spring.framework.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework&lt;/groupId&gt;
              &lt;artifactId&gt;spring-core&lt;/artifactId&gt;
              &lt;version&gt;${spring.framework.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework&lt;/groupId&gt;
              &lt;artifactId&gt;spring-web&lt;/artifactId&gt;
              &lt;version&gt;${spring.framework.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework&lt;/groupId&gt;
              &lt;artifactId&gt;spring-webmvc&lt;/artifactId&gt;
              &lt;version&gt;${spring.framework.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework&lt;/groupId&gt;
              &lt;artifactId&gt;spring-jdbc&lt;/artifactId&gt;
              &lt;version&gt;${spring.framework.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework&lt;/groupId&gt;
              &lt;artifactId&gt;spring-tx&lt;/artifactId&gt;
              &lt;version&gt;${spring.framework.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework&lt;/groupId&gt;
              &lt;artifactId&gt;spring-beans&lt;/artifactId&gt;
              &lt;version&gt;${spring.framework.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework&lt;/groupId&gt;
              &lt;artifactId&gt;spring-aop&lt;/artifactId&gt;
              &lt;version&gt;${spring.framework.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework&lt;/groupId&gt;
              &lt;artifactId&gt;spring-orm&lt;/artifactId&gt;
              &lt;version&gt;${spring.framework.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.session&lt;/groupId&gt;
              &lt;artifactId&gt;spring-session&lt;/artifactId&gt;
              &lt;version&gt;1.3.1.RELEASE&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.fasterxml.jackson.core&lt;/groupId&gt;
              &lt;artifactId&gt;jackson-databind&lt;/artifactId&gt;
              &lt;version&gt;${jackson.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.fasterxml.jackson.core&lt;/groupId&gt;
              &lt;artifactId&gt;jackson-core&lt;/artifactId&gt;
              &lt;version&gt;${jackson.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.fasterxml.jackson.core&lt;/groupId&gt;
              &lt;artifactId&gt;jackson-annotations&lt;/artifactId&gt;
              &lt;version&gt;${jackson.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;javax.validation&lt;/groupId&gt;
              &lt;artifactId&gt;validation-api&lt;/artifactId&gt;
              &lt;version&gt;2.0.0.Final&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
              &lt;artifactId&gt;javax.servlet-api&lt;/artifactId&gt;
              &lt;version&gt;4.0.0&lt;/version&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
              &lt;artifactId&gt;hibernate-core&lt;/artifactId&gt;
              &lt;version&gt;${hibernate.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
              &lt;artifactId&gt;hibernate-entitymanager&lt;/artifactId&gt;
              &lt;version&gt;${hibernate.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
              &lt;artifactId&gt;hibernate-annotations&lt;/artifactId&gt;
              &lt;version&gt;3.5.6-Final&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
              &lt;artifactId&gt;slf4j-api&lt;/artifactId&gt;
              &lt;version&gt;${slf4j.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;log4j&lt;/groupId&gt;
              &lt;artifactId&gt;log4j&lt;/artifactId&gt;
              &lt;version&gt;1.2.17&lt;/version&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;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;junit&lt;/groupId&gt;
              &lt;artifactId&gt;junit&lt;/artifactId&gt;
              &lt;version&gt;3.8.1&lt;/version&gt;
              &lt;scope&gt;test&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;6.0.6&lt;/version&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
  &lt;/project&gt;
  </code></pre>