title: Context initialization failed due to org.springframework.core.ResolvableTypeProvider
body: <p>I upgraded Spring from version 1.5.8 to version 4.2.3.RELEASE. Project compiles fine but when i start tomcat i get following error.</p>
  
  <pre><code>INFO: Initializing Spring root WebApplicationContext
  02 Sep 2016 21:07:46,235  INFO ContextLoader:285 - Root WebApplicationContext: initialization started
  02 Sep 2016 21:07:46,264 ERROR ContextLoader:336 - Context initialization failed
  java.lang.NoClassDefFoundError: org/springframework/core/ResolvableTypeProvider
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
      at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:3116)
      at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:1344)
      at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1825)
      at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1705)
      at java.lang.Class.getDeclaredConstructors0(Native Method)
      at java.lang.Class.privateGetDeclaredConstructors(Class.java:2585)
      at java.lang.Class.getConstructor0(Class.java:2885)
      at java.lang.Class.getDeclaredConstructor(Class.java:2058)
      at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:104)
      at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:360)
      at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:293)
      at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)
      at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5077)
      at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5591)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
      at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1095)
      at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1957)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:745)
  Caused by: java.lang.ClassNotFoundException: org.springframework.core.ResolvableTypeProvider
      at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1856)
      at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1705)
      ... 28 more
  </code></pre>
  
  <p>Below is the pom.xml</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/maven-v4_0_0.xsd"&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
      &lt;groupId&gt;net.nationalpayment.cp20&lt;/groupId&gt;
      &lt;artifactId&gt;wsrv&lt;/artifactId&gt;
      &lt;packaging&gt;war&lt;/packaging&gt;
      &lt;version&gt;versionUpgrade-SNAPSHOT&lt;/version&gt;
      &lt;name&gt;wsrv Spring-WS Application&lt;/name&gt;
      &lt;url&gt;http://www.springframework.org/spring-ws&lt;/url&gt;
      &lt;reporting&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;artifactId&gt;maven-javadoc-plugin&lt;/artifactId&gt;
                  &lt;configuration&gt;
                      &lt;stylesheetfile&gt;${basedir}/../../src/main/javadoc/javadoc.css&lt;/stylesheetfile&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
                  &lt;artifactId&gt;findbugs-maven-plugin&lt;/artifactId&gt;
                  &lt;!-- &lt;version&gt;2.5.1&lt;/version&gt; --&gt;
                  &lt;version&gt;3.0.0&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;findbugsXmlOutput&gt;true&lt;/findbugsXmlOutput&gt;
                      &lt;findbugsXmlWithMessages&gt;true&lt;/findbugsXmlWithMessages&gt;
                      &lt;xmlOutput&gt;true&lt;/xmlOutput&gt;
                      &lt;!-- &lt;excludeFilterFile&gt;${project.basedir}/conf/findbugs-exclude.xml&lt;/excludeFilterFile&gt; --&gt;
                      &lt;effort&gt;Max&lt;/effort&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/reporting&gt;
      &lt;build&gt;
          &lt;resources&gt;
              &lt;resource&gt;
                  &lt;directory&gt;src/main/resources&lt;/directory&gt;
  
                  &lt;filtering&gt;true&lt;/filtering&gt;
              &lt;/resource&gt;
              &lt;!--&lt;resource&gt; &lt;directory&gt;src/main/resources&lt;/directory&gt; &lt;excludes&gt; &lt;exclude&gt;**/*.properties&lt;/exclude&gt; 
                  &lt;/excludes&gt; &lt;filtering&gt;false&lt;/filtering&gt; &lt;/resource&gt; --&gt;
          &lt;/resources&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
                  &lt;artifactId&gt;findbugs-maven-plugin&lt;/artifactId&gt;
                  &lt;!-- &lt;version&gt;2.5.1&lt;/version&gt; --&gt;
                  &lt;version&gt;3.0.0&lt;/version&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;com.google.code.maven-replacer-plugin&lt;/groupId&gt;
                  &lt;artifactId&gt;replacer&lt;/artifactId&gt;
                  &lt;version&gt;1.5.3&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;file&gt;pom.xml&lt;/file&gt;
                      &lt;replacements&gt;
                          &lt;replacement&gt;
                              &lt;token&gt;${current.build.version}&lt;/token&gt;
                              &lt;value&gt;${replacer.current.build.version}&lt;/value&gt;
                          &lt;/replacement&gt;
                      &lt;/replacements&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;com.google.code.maven-svn-revision-number-plugin&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-svn-revision-number-plugin&lt;/artifactId&gt;
                  &lt;version&gt;1.7&lt;/version&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;revision&lt;/goal&gt;
                          &lt;/goals&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
                  &lt;!-- put your configurations here --&gt;
                  &lt;configuration&gt;
                      &lt;entries&gt;
                          &lt;entry&gt;
                              &lt;prefix&gt;CPIIWSRV-svn&lt;/prefix&gt;
                          &lt;/entry&gt;
                      &lt;/entries&gt;
                  &lt;/configuration&gt;
                  &lt;dependencies&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;org.tmatesoft.svnkit&lt;/groupId&gt;
                          &lt;artifactId&gt;svnkit&lt;/artifactId&gt;
                          &lt;version&gt;1.8.0-SNAPSHOT&lt;/version&gt;
                      &lt;/dependency&gt;
                  &lt;/dependencies&gt;
              &lt;/plugin&gt;
              &lt;!-- &lt;plugin&gt; &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt; &lt;artifactId&gt;aspectj-maven-plugin&lt;/artifactId&gt; 
                  &lt;version&gt;1.2&lt;/version&gt; &lt;configuration&gt; &lt;source&gt;1.6&lt;/source&gt; &lt;verbose&gt;true&lt;/verbose&gt; 
                  &lt;complianceLevel&gt;1.6&lt;/complianceLevel&gt; &lt;showWeaveInfo&gt;true&lt;/showWeaveInfo&gt; 
                  &lt;aspectLibraries&gt; &lt;aspectLibrary&gt; &lt;groupId&gt;org.springframework&lt;/groupId&gt; 
                  &lt;artifactId&gt;spring-aspects&lt;/artifactId&gt; &lt;/aspectLibrary&gt; &lt;/aspectLibraries&gt; 
                  &lt;/configuration&gt; &lt;executions&gt; &lt;execution&gt; &lt;goals&gt; &lt;goal&gt;compile&lt;/goal&gt; &lt;/goals&gt; 
                  &lt;/execution&gt; &lt;/executions&gt; &lt;dependencies&gt; &lt;dependency&gt; &lt;groupId&gt;org.aspectj&lt;/groupId&gt; 
                  &lt;artifactId&gt;aspectjrt&lt;/artifactId&gt; &lt;version&gt;1.6.6&lt;/version&gt; &lt;/dependency&gt; 
                  &lt;dependency&gt; &lt;groupId&gt;org.aspectj&lt;/groupId&gt; &lt;artifactId&gt;aspectjtools&lt;/artifactId&gt; 
                  &lt;version&gt;1.6.6&lt;/version&gt; &lt;/dependency&gt; &lt;/dependencies&gt; &lt;/plugin&gt; --&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
                  &lt;artifactId&gt;aspectj-maven-plugin&lt;/artifactId&gt;
                  &lt;!-- &lt;version&gt;1.2&lt;/version&gt; --&gt;
                  &lt;version&gt;1.6&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;source&gt;1.7&lt;/source&gt;
                      &lt;verbose&gt;true&lt;/verbose&gt;
                      &lt;complianceLevel&gt;1.7&lt;/complianceLevel&gt;
                      &lt;showWeaveInfo&gt;true&lt;/showWeaveInfo&gt;
                      &lt;aspectLibraries&gt;
                          &lt;aspectLibrary&gt;
                              &lt;groupId&gt;org.springframework&lt;/groupId&gt;
                              &lt;artifactId&gt;spring-aspects&lt;/artifactId&gt;
                          &lt;/aspectLibrary&gt;
                      &lt;/aspectLibraries&gt;
                  &lt;/configuration&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;compile&lt;/goal&gt;
                          &lt;/goals&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
                  &lt;dependencies&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;org.aspectj&lt;/groupId&gt;
                          &lt;artifactId&gt;aspectjrt&lt;/artifactId&gt;
                          &lt;version&gt;${aspectj.version}&lt;/version&gt;
                      &lt;/dependency&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;org.aspectj&lt;/groupId&gt;
                          &lt;artifactId&gt;aspectjtools&lt;/artifactId&gt;
                          &lt;version&gt;${aspectj.version}&lt;/version&gt;
                      &lt;/dependency&gt;
                  &lt;/dependencies&gt;
              &lt;/plugin&gt;
  
              &lt;plugin&gt;
                  &lt;groupId&gt;eviware&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-soapui-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.5.1&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;projectFile&gt;src/test/soap-ui-tests/webservicetestsuite1.xml&lt;/projectFile&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;3.2&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;source&gt;1.7&lt;/source&gt;
                      &lt;target&gt;1.7&lt;/target&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-enforcer-plugin&lt;/artifactId&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;id&gt;enforce-versions&lt;/id&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;enforce&lt;/goal&gt;
                          &lt;/goals&gt;
                          &lt;configuration&gt;
                              &lt;rules&gt;
                                  &lt;requireJavaVersion&gt;
                                      &lt;version&gt;1.7&lt;/version&gt;
                                  &lt;/requireJavaVersion&gt;
                              &lt;/rules&gt;
                          &lt;/configuration&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
              &lt;/plugin&gt;
              &lt;!-- &lt;plugin&gt; &lt;groupId&gt;com.sun.tools.xjc.maven2&lt;/groupId&gt; &lt;artifactId&gt;maven-jaxb-plugin&lt;/artifactId&gt; 
                  &lt;version&gt;1.1.1&lt;/version&gt; &lt;executions&gt; &lt;execution&gt; &lt;phase&gt;generate-sources&lt;/phase&gt; 
                  &lt;goals&gt; &lt;goal&gt;generate&lt;/goal&gt; &lt;/goals&gt; &lt;/execution&gt; &lt;/executions&gt; &lt;configuration&gt; 
                  &lt;generatePackage&gt;net.nationalpayment.cp20.ws.schema&lt;/generatePackage&gt; &lt;schemaDirectory&gt;src/main/webapp/&lt;/schemaDirectory&gt; 
                  &lt;/configuration&gt; &lt;/plugin&gt; --&gt;
  
              &lt;!-- Added for Stack Upgrade starts --&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.jvnet.jaxb2.maven2&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-jaxb2-plugin&lt;/artifactId&gt;
                  &lt;version&gt;0.12.3&lt;/version&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;phase&gt;generate-sources&lt;/phase&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;generate&lt;/goal&gt;
                          &lt;/goals&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
                  &lt;configuration&gt;
                      &lt;generatePackage&gt;net.nationalpayment.cp20.ws.schema&lt;/generatePackage&gt;
                      &lt;schemaDirectory&gt;src/main/webapp/&lt;/schemaDirectory&gt;
                      &lt;!-- &lt;generateDirectory&gt;${project.build.directory}/generated-sources/kyc&lt;/generateDirectory&gt; --&gt;
                      &lt;generateDirectory&gt;src/main/java/&lt;/generateDirectory&gt;
                      &lt;verbose&gt;true&lt;/verbose&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
              &lt;!-- Added for Stack Upgrade ends --&gt;
  
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-assembly-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.3&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;descriptors&gt;
                          &lt;descriptor&gt;src/main/assembly/assembly.xml&lt;/descriptor&gt;
                      &lt;/descriptors&gt;
                  &lt;/configuration&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;id&gt;make-assembly&lt;/id&gt;
                          &lt;phase&gt;package&lt;/phase&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;single&lt;/goal&gt;
                          &lt;/goals&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
              &lt;/plugin&gt;
  
          &lt;/plugins&gt;
      &lt;/build&gt;
      &lt;dependencies&gt;
  
          &lt;!-- Added for Stack Upgrade starts --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;javax.cache&lt;/groupId&gt;
              &lt;artifactId&gt;cache-api&lt;/artifactId&gt;
              &lt;version&gt;1.0.0&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;javax.transaction&lt;/groupId&gt;
              &lt;artifactId&gt;javax.transaction-api&lt;/artifactId&gt;
              &lt;version&gt;1.2&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;!-- Added for Stack Upgrade ends --&gt;
  
  
          &lt;dependency&gt;
              &lt;groupId&gt;net.nationalpayment.cp20&lt;/groupId&gt;
              &lt;artifactId&gt;services&lt;/artifactId&gt;
              &lt;version&gt;${current.build.version}&lt;/version&gt;
          &lt;/dependency&gt;
  
  
          &lt;!-- Spring-WS dependencies --&gt;
  &lt;!--        &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.ws&lt;/groupId&gt;
              &lt;artifactId&gt;spring-xml&lt;/artifactId&gt;
              &lt;version&gt;2.2.0.RELEASE&lt;/version&gt;
          &lt;/dependency&gt; --&gt;
  
          &lt;!-- Added for Stack Upgrade starts --&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.ws&lt;/groupId&gt;
              &lt;artifactId&gt;spring-xml&lt;/artifactId&gt;
              &lt;version&gt;${spring.ws.version}&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;!-- Added for Stack Upgrade ends --&gt;
  
  &lt;!--        &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.ws&lt;/groupId&gt;
              &lt;artifactId&gt;spring-ws-core&lt;/artifactId&gt;
              &lt;version&gt;2.2.4.RELEASE&lt;/version&gt;
          &lt;/dependency&gt; --&gt;
  
          &lt;!-- Added for Stack Upgrade starts --&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.ws&lt;/groupId&gt;
              &lt;artifactId&gt;spring-ws-core&lt;/artifactId&gt;
              &lt;version&gt;${spring.ws.version}&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;!-- Added for Stack Upgrade ends --&gt;       
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.ws&lt;/groupId&gt;
              &lt;artifactId&gt;spring-ws-core-tiger&lt;/artifactId&gt;
              &lt;version&gt;1.5.10&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.ws&lt;/groupId&gt;
              &lt;artifactId&gt;spring-oxm&lt;/artifactId&gt;
              &lt;version&gt;1.5.10&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.ws&lt;/groupId&gt;
              &lt;artifactId&gt;spring-oxm-tiger&lt;/artifactId&gt;
              &lt;version&gt;1.5.10&lt;/version&gt;
              &lt;scope&gt;runtime&lt;/scope&gt;
          &lt;/dependency&gt;
  
  &lt;!--        &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.ws&lt;/groupId&gt;
              &lt;artifactId&gt;spring-ws-support&lt;/artifactId&gt;
              &lt;version&gt;2.2.0.RELEASE&lt;/version&gt;
              &lt;scope&gt;runtime&lt;/scope&gt;
          &lt;/dependency&gt; --&gt;
  
          &lt;!-- Added for Stack Upgrade starts --&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.ws&lt;/groupId&gt;
              &lt;artifactId&gt;spring-ws-support&lt;/artifactId&gt;
              &lt;version&gt;${spring.ws.version}&lt;/version&gt;
              &lt;scope&gt;runtime&lt;/scope&gt;
          &lt;/dependency&gt;       
  
          &lt;!-- Added for Stack Upgrade ends --&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.ws&lt;/groupId&gt;
              &lt;artifactId&gt;spring-ws-security&lt;/artifactId&gt;
              &lt;!-- &lt;version&gt;2.2.0.RELEASE&lt;/version&gt; --&gt;
              &lt;version&gt;${spring.ws.version}&lt;/version&gt;
              &lt;scope&gt;runtime&lt;/scope&gt;
              &lt;exclusions&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;org.apache.ws.security&lt;/groupId&gt;
                      &lt;artifactId&gt;wss4j&lt;/artifactId&gt;
                  &lt;/exclusion&gt;
              &lt;/exclusions&gt;
          &lt;/dependency&gt;
          &lt;!-- Spring 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.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.version}&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.cxf&lt;/groupId&gt;
              &lt;artifactId&gt;cxf-api&lt;/artifactId&gt;
              &lt;version&gt;${cxf.version}&lt;/version&gt;
              &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.cxf&lt;/groupId&gt;
              &lt;artifactId&gt;cxf-rt-frontend-jaxws&lt;/artifactId&gt;
              &lt;version&gt;${cxf.version}&lt;/version&gt;
              &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.cxf&lt;/groupId&gt;
              &lt;artifactId&gt;cxf-rt-frontend-jaxrs&lt;/artifactId&gt;
              &lt;version&gt;${cxf.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.cxf&lt;/groupId&gt;
              &lt;artifactId&gt;cxf-rt-transports-http&lt;/artifactId&gt;
              &lt;version&gt;${cxf.version}&lt;/version&gt;
              &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.cxf&lt;/groupId&gt;
              &lt;artifactId&gt;cxf-bundle-jaxrs&lt;/artifactId&gt;
              &lt;version&gt;${cxf.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.cxf&lt;/groupId&gt;
              &lt;artifactId&gt;cxf-bundle-jaxrs&lt;/artifactId&gt;
              &lt;version&gt;${cxf.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.neethi&lt;/groupId&gt;
              &lt;artifactId&gt;neethi&lt;/artifactId&gt;
              &lt;version&gt;3.0.2&lt;/version&gt;
              &lt;exclusions&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;org.codehaus.woodstox&lt;/groupId&gt;
                      &lt;artifactId&gt;woodstox-core-asl&lt;/artifactId&gt;
                  &lt;/exclusion&gt;
              &lt;/exclusions&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.codehaus.jackson&lt;/groupId&gt;
              &lt;artifactId&gt;jackson-jaxrs&lt;/artifactId&gt;
              &lt;version&gt;1.1.1&lt;/version&gt;
              &lt;exclusions&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;org.codehaus.jackson&lt;/groupId&gt;
                      &lt;artifactId&gt;jackson-core-asl&lt;/artifactId&gt;
                  &lt;/exclusion&gt;
              &lt;/exclusions&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;commons-codec&lt;/groupId&gt;
              &lt;artifactId&gt;commons-codec&lt;/artifactId&gt;
              &lt;version&gt;1.10&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.jasypt&lt;/groupId&gt;
              &lt;artifactId&gt;jasypt&lt;/artifactId&gt;
              &lt;version&gt;1.9.2&lt;/version&gt;
              &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
  
  
          &lt;!-- Test dependencies --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.easymock&lt;/groupId&gt;
              &lt;artifactId&gt;easymock&lt;/artifactId&gt;
              &lt;scope&gt;test&lt;/scope&gt;
              &lt;version&gt;2.2&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;xalan&lt;/groupId&gt;
              &lt;artifactId&gt;xalan&lt;/artifactId&gt;
              &lt;version&gt;2.7.2&lt;/version&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
      &lt;properties&gt;
          &lt;!-- Database settings --&gt;
          &lt;dbunit.dataTypeFactoryName&gt;org.dbunit.ext.mysql.MySqlDataTypeFactory&lt;/dbunit.dataTypeFactoryName&gt;
          &lt;hibernate.dialect&gt;org.hibernate.dialect.MySQL5InnoDBDialect&lt;/hibernate.dialect&gt;
          &lt;jdbc.groupId&gt;mysql&lt;/jdbc.groupId&gt;
          &lt;jdbc.artifactId&gt;mysql-connector-java&lt;/jdbc.artifactId&gt;
          &lt;cxf.version&gt;2.6.0&lt;/cxf.version&gt;
          &lt;jdbc.version&gt;5.1.28&lt;/jdbc.version&gt;
          &lt;jdbc.driverClassName&gt;com.mysql.jdbc.Driver&lt;/jdbc.driverClassName&gt;
          &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
          &lt;timestamp&gt;${maven.build.timestamp}&lt;/timestamp&gt;
  
  
          &lt;!-- Added for Stack Upgrade starts --&gt;
  
          &lt;aspectj.version&gt;1.7.4&lt;/aspectj.version&gt;
          &lt;spring.version&gt;4.2.3.RELEASE&lt;/spring.version&gt;
          &lt;spring.ws.version&gt;2.2.0.RELEASE&lt;/spring.ws.version&gt;
          &lt;!-- &lt;dao.framework&gt;hibernate&lt;/dao.framework&gt; &lt;web.framework&gt;spring&lt;/web.framework&gt; 
              &lt;commons.fileupload.version&gt;1.2.1&lt;/commons.fileupload.version&gt; &lt;commons.io.version&gt;1.3.2&lt;/commons.io.version&gt; 
              &lt;hibernate.version&gt;4.0.1.Final&lt;/hibernate.version&gt; &lt;spring.version&gt;4.2.3.RELEASE&lt;/spring.version&gt; --&gt;
  
          &lt;!-- Added for Stack Upgrade ends --&gt;
  
  
  
          &lt;wsrv.timestamp&gt;${timestamp}&lt;/wsrv.timestamp&gt;
          &lt;maven.build.timestamp.format&gt;yyyy-MM-dd_HH-mm-ss&lt;/maven.build.timestamp.format&gt;
          &lt;current.build.version&gt;versionUpgrade-SNAPSHOT&lt;/current.build.version&gt;
  
      &lt;/properties&gt;
  
  &lt;/project&gt;
  </code></pre>
  
  <p>Below is web.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;
  
  &lt;web-app xmlns="http://java.sun.com/xml/ns/j2ee"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
           version="2.4"&gt;
      &lt;listener&gt;
          &lt;listener-class&gt;org.springframework.web.context.ContextLoaderListener&lt;/listener-class&gt;
      &lt;/listener&gt;
      &lt;servlet&gt;
          &lt;servlet-name&gt;ws&lt;/servlet-name&gt;
          &lt;servlet-class&gt;org.springframework.ws.transport.http.MessageDispatcherServlet&lt;/servlet-class&gt;
      &lt;/servlet&gt;
      &lt;servlet-mapping&gt;
          &lt;servlet-name&gt;ws&lt;/servlet-name&gt;
          &lt;url-pattern&gt;/services&lt;/url-pattern&gt;
      &lt;/servlet-mapping&gt;
      &lt;servlet-mapping&gt;
          &lt;servlet-name&gt;ws&lt;/servlet-name&gt;
          &lt;url-pattern&gt;/service&lt;/url-pattern&gt;
      &lt;/servlet-mapping&gt;
      &lt;servlet-mapping&gt;
          &lt;servlet-name&gt;ws&lt;/servlet-name&gt;
          &lt;url-pattern&gt;*.wsdl&lt;/url-pattern&gt;
      &lt;/servlet-mapping&gt;
      &lt;servlet&gt;
          &lt;servlet-name&gt;mvc&lt;/servlet-name&gt;
          &lt;servlet-class&gt;org.springframework.web.servlet.DispatcherServlet&lt;/servlet-class&gt;
      &lt;/servlet&gt;
  
      &lt;servlet&gt;
          &lt;servlet-name&gt;CXFServlet&lt;/servlet-name&gt;
          &lt;servlet-class&gt;org.apache.cxf.transport.servlet.CXFServlet&lt;/servlet-class&gt;
          &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;
      &lt;/servlet&gt;
  
      &lt;servlet-mapping&gt;
          &lt;servlet-name&gt;CXFServlet&lt;/servlet-name&gt;
          &lt;url-pattern&gt;/cftRest/*&lt;/url-pattern&gt;
      &lt;/servlet-mapping&gt;
  
      &lt;servlet-mapping&gt;
          &lt;servlet-name&gt;CXFServlet&lt;/servlet-name&gt;
          &lt;url-pattern&gt;/cftAuth/*&lt;/url-pattern&gt;
      &lt;/servlet-mapping&gt;
  
      &lt;filter&gt;
      &lt;filter-name&gt;Spring OpenEntityManagerInViewFilter&lt;/filter-name&gt;
      &lt;filter-class&gt;org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter&lt;/filter-class&gt;
      &lt;/filter&gt;
  
      &lt;filter-mapping&gt;
      &lt;filter-name&gt;Spring OpenEntityManagerInViewFilter&lt;/filter-name&gt;
      &lt;url-pattern&gt;/*&lt;/url-pattern&gt;
      &lt;/filter-mapping&gt;
  
      &lt;!--PBE encription configs--&gt;
      &lt;servlet&gt;
          &lt;servlet-name&gt;webPBEConfigServlet&lt;/servlet-name&gt;
          &lt;servlet-class&gt;
            org.jasypt.web.pbeconfig.WebPBEConfigServlet
          &lt;/servlet-class&gt;
          &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;
        &lt;/servlet&gt;
  
        &lt;servlet-mapping&gt;
          &lt;servlet-name&gt;webPBEConfigServlet&lt;/servlet-name&gt;
          &lt;url-pattern&gt;/webPBEConfig.do&lt;/url-pattern&gt;
        &lt;/servlet-mapping&gt;
  
  
       &lt;filter&gt;
          &lt;filter-name&gt;webPBEConfigFilter&lt;/filter-name&gt;
          &lt;filter-class&gt;org.jasypt.web.pbeconfig.WebPBEConfigFilter&lt;/filter-class&gt;
      &lt;/filter&gt;
  
      &lt;filter-mapping&gt;
          &lt;filter-name&gt;webPBEConfigFilter&lt;/filter-name&gt;
          &lt;servlet-name&gt;ws&lt;/servlet-name&gt;
      &lt;/filter-mapping&gt;
  
      &lt;mime-mapping&gt;
          &lt;extension&gt;xsd&lt;/extension&gt;
          &lt;mime-type&gt;text/xml&lt;/mime-type&gt;
      &lt;/mime-mapping&gt;
      &lt;welcome-file-list&gt;
          &lt;welcome-file&gt;index.jsp&lt;/welcome-file&gt;
      &lt;/welcome-file-list&gt;
  
      &lt;context-param&gt;
      &lt;param-name&gt;log4jConfigLocation&lt;/param-name&gt;
      &lt;param-value&gt;file:${CONFIG_PATH}/log4j.properties&lt;/param-value&gt;
  &lt;/context-param&gt;
  
  &lt;context-param&gt;
      &lt;param-name&gt;log4jRefreshInterval&lt;/param-name&gt;
      &lt;param-value&gt;1000&lt;/param-value&gt;
  &lt;/context-param&gt;
  
  &lt;listener&gt;
      &lt;listener-class&gt;org.springframework.web.util.Log4jConfigListener&lt;/listener-class&gt;
  &lt;/listener&gt;
  
  
  &lt;/web-app&gt;
  </code></pre>
  
  <p>Any help would be greatly appreciated.I am using Eclipse and Maven3.</p>