title: java.lang.NoSuchMethodError: org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver: method <init>()V not found
body: <p>I am developing <strong>Spring + MVC + RestEasy</strong> example. I was successfully able to developed the code, but I see the below error. It looks like to dependency mismatched issue. I already frusted to solve this issue, but unable to fixed it yet. I uploaded source code here: <strong><a href="https://github.com/test512/RestEasy-Spring-MVC-Hibernate" rel="nofollow noreferrer">https://github.com/test512/RestEasy-Spring-MVC-Hibernate</a></strong></p>
  
  <pre><code>org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter': Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver: method &lt;init&gt;()V not found
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1582)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
      at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
      at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
      at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
      at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:778)
      at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:839)
      at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538)
      at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:666)
      at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:632)
      at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:680)
      at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:551)
      at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:492)
      at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136)
      at javax.servlet.GenericServlet.init(GenericServlet.java:158)
      at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1238)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1151)
      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1038)
      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5027)
      at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5337)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
      at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1407)
      at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1397)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      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:724)
  Caused by: java.lang.NoSuchMethodError: org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver: method &lt;init&gt;()V not found
      at org.springframework.web.servlet.mvc.method.annotation.PathVariableMethodArgumentResolver.&lt;init&gt;(PathVariableMethodArgumentResolver.java:68)
      at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.getDefaultArgumentResolvers(RequestMappingHandlerAdapter.java:591)
      at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.afterPropertiesSet(RequestMappingHandlerAdapter.java:521)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1641)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1578)
      ... 29 more
  
  Dec 23, 2016 6:25:19 PM org.apache.catalina.core.StandardContext loadOnStartup
  SEVERE: Servlet [springmvc-hibernate-resteasy] in web application [/RestEasy-Spring-MVC-Hibernate] threw load() exception
  java.lang.NoSuchMethodError: org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver: method &lt;init&gt;()V not found
      at org.springframework.web.servlet.mvc.method.annotation.PathVariableMethodArgumentResolver.&lt;init&gt;(PathVariableMethodArgumentResolver.java:68)
      at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.getDefaultArgumentResolvers(RequestMappingHandlerAdapter.java:591)
      at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.afterPropertiesSet(RequestMappingHandlerAdapter.java:521)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1641)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1578)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
      at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
      at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
      at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
      at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:778)
      at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:839)
      at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538)
      at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:666)
      at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:632)
      at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:680)
      at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:551)
      at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:492)
      at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136)
      at javax.servlet.GenericServlet.init(GenericServlet.java:158)
      at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1238)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1151)
      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1038)
      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5027)
      at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5337)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
      at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1407)
      at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1397)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      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:724)
  </code></pre>
  
  <p><strong>pom.xml</strong></p>
  
  <pre><code>&lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
      &lt;groupId&gt;in.bench.resources&lt;/groupId&gt;
      &lt;artifactId&gt;RestEasy-Spring-MVC-Hibernate&lt;/artifactId&gt;
      &lt;version&gt;1.0&lt;/version&gt;
      &lt;packaging&gt;war&lt;/packaging&gt;
      &lt;name&gt;RestEasy-Spring-MVC-Hibernate&lt;/name&gt;
      &lt;description&gt;RestEasy : Integrating with Spring-MVC-Framework and Hibernate ORM&lt;/description&gt;
  
  
      &lt;properties&gt;
          &lt;resteasy.version&gt;3.0.8.Final&lt;/resteasy.version&gt;
          &lt;resteasy.scope&gt;compile&lt;/resteasy.scope&gt;        &lt;!-- compile(Tomcat) / provided(JBoss) --&gt;
          &lt;spring.version&gt;4.2.8.RELEASE&lt;/spring.version&gt; &lt;!-- 4.x doesn't work with RestEasy directly --&gt;
          &lt;hibernate.version&gt;4.3.11.Final&lt;/hibernate.version&gt;
          &lt;mysql.version&gt;5.1.32&lt;/mysql.version&gt;
          &lt;validation-api.version&gt;1.1.0.Final&lt;/validation-api.version&gt;
          &lt;hibernate-validator.version&gt;5.1.3.Final&lt;/hibernate-validator.version&gt;
  
          &lt;servlet.version&gt;3.1.0&lt;/servlet.version&gt;
          &lt;jstl.version&gt;1.2&lt;/jstl.version&gt;
          &lt;compileSource&gt;1.7&lt;/compileSource&gt;
          &lt;maven.compiler.target&gt;1.7&lt;/maven.compiler.target&gt;
          &lt;maven.compiler.source&gt;1.7&lt;/maven.compiler.source&gt;
          &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
          &lt;logback.version&gt;1.1.3&lt;/logback.version&gt;
          &lt;jcl.slf4j.version&gt;1.7.12&lt;/jcl.slf4j.version&gt;
      &lt;/properties&gt;
  
  
  
      &lt;dependencies&gt;
          &lt;!-- RESTEasy JAX RS Implementation --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.jboss.resteasy&lt;/groupId&gt;
              &lt;artifactId&gt;resteasy-jaxrs&lt;/artifactId&gt;
              &lt;version&gt;${resteasy.version}&lt;/version&gt;
              &lt;scope&gt;${resteasy.scope}&lt;/scope&gt;
          &lt;/dependency&gt;
  
          &lt;!-- Resteasy Servlet Container Initializer --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.jboss.resteasy&lt;/groupId&gt;
              &lt;artifactId&gt;resteasy-servlet-initializer&lt;/artifactId&gt;
              &lt;version&gt;${resteasy.version}&lt;/version&gt;
              &lt;scope&gt;${resteasy.scope}&lt;/scope&gt;
          &lt;/dependency&gt;
  
          &lt;!-- Resteasy JAXB Provider --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.jboss.resteasy&lt;/groupId&gt;
              &lt;artifactId&gt;resteasy-jaxb-provider&lt;/artifactId&gt;
              &lt;version&gt;${resteasy.version}&lt;/version&gt;
              &lt;scope&gt;${resteasy.scope}&lt;/scope&gt;
          &lt;/dependency&gt;
  
          &lt;!-- Resteasy Jackson Provider --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.jboss.resteasy&lt;/groupId&gt;
              &lt;artifactId&gt;resteasy-jackson-provider&lt;/artifactId&gt;
              &lt;version&gt;${resteasy.version}&lt;/version&gt;
              &lt;scope&gt;${resteasy.scope}&lt;/scope&gt;
          &lt;/dependency&gt;
  
          &lt;!-- RESTEasy JAX RS Client --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.jboss.resteasy&lt;/groupId&gt;
              &lt;artifactId&gt;resteasy-client&lt;/artifactId&gt;
              &lt;version&gt;${resteasy.version}&lt;/version&gt;
              &lt;scope&gt;${resteasy.scope}&lt;/scope&gt;
          &lt;/dependency&gt;
  
          &lt;!-- Resteasy Spring Integration --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.jboss.resteasy&lt;/groupId&gt;
              &lt;artifactId&gt;resteasy-spring&lt;/artifactId&gt;
              &lt;version&gt;${resteasy.version}&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;!-- Spring Framework --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework&lt;/groupId&gt;
              &lt;artifactId&gt;spring-webmvc&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-tx&lt;/artifactId&gt;
              &lt;version&gt;${spring.version}&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.data&lt;/groupId&gt;
              &lt;artifactId&gt;spring-data-jpa&lt;/artifactId&gt;
              &lt;version&gt;1.10.5.RELEASE&lt;/version&gt;
          &lt;/dependency&gt;
  
  
          &lt;!-- Hibernate Core --&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-core&lt;/artifactId&gt;
              &lt;version&gt;${hibernate.version}&lt;/version&gt;
          &lt;/dependency&gt;
  
  
          &lt;!-- Validations --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;javax.validation&lt;/groupId&gt;
              &lt;artifactId&gt;validation-api&lt;/artifactId&gt;
              &lt;version&gt;${validation-api.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
              &lt;artifactId&gt;hibernate-validator&lt;/artifactId&gt;
              &lt;version&gt;${hibernate-validator.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
              &lt;artifactId&gt;hibernate-ehcache&lt;/artifactId&gt;
              &lt;version&gt;${hibernate.version}&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;cglib&lt;/groupId&gt;
              &lt;artifactId&gt;cglib&lt;/artifactId&gt;
              &lt;version&gt;3.2.4&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;!-- MySql-Connector --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;mysql&lt;/groupId&gt;
              &lt;artifactId&gt;mysql-connector-java&lt;/artifactId&gt;
              &lt;version&gt;${mysql.version}&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;!-- servlet-3.1.0 --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
              &lt;artifactId&gt;javax.servlet-api&lt;/artifactId&gt;
              &lt;version&gt;${servlet.version}&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;!-- JSTL for JSP pages --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;jstl&lt;/groupId&gt;
              &lt;artifactId&gt;jstl&lt;/artifactId&gt;
              &lt;version&gt;${jstl.version}&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
              &lt;artifactId&gt;jcl-over-slf4j&lt;/artifactId&gt;
              &lt;version&gt;${jcl.slf4j.version}&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;!-- 3. logback --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;ch.qos.logback&lt;/groupId&gt;
              &lt;artifactId&gt;logback-classic&lt;/artifactId&gt;
              &lt;version&gt;${logback.version}&lt;/version&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
  
      &lt;repositories&gt;
          &lt;repository&gt;
              &lt;id&gt;jboss&lt;/id&gt;
              &lt;url&gt;http://repository.jboss.org/maven2&lt;/url&gt;
          &lt;/repository&gt;
      &lt;/repositories&gt;
  
      &lt;build&gt;
          &lt;finalName&gt;RestEasy-Spring-MVC-Hibernate&lt;/finalName&gt;
  
          &lt;!-- maven compiler plugin --&gt;
          &lt;plugins&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.1&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;!-- JAXB plugin to generate-sources from XSD --&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
                  &lt;artifactId&gt;jaxb2-maven-plugin&lt;/artifactId&gt;
                  &lt;version&gt;1.6&lt;/version&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;xjc&lt;/goal&gt;&lt;!-- xjc/generate --&gt;
                          &lt;/goals&gt;
                          &lt;configuration&gt;
                              &lt;outputDirectory&gt;${basedir}/generated/java/source&lt;/outputDirectory&gt;
                              &lt;schemaDirectory&gt;${basedir}/src/main/resources/com/resteasy/series/spring/mvc/hibernate/service/entities&lt;/schemaDirectory&gt;
                              &lt;schemaFiles&gt;*.xsd&lt;/schemaFiles&gt;
                              &lt;schemaLanguage&gt;XMLSCHEMA&lt;/schemaLanguage&gt;
                              &lt;extension&gt;true&lt;/extension&gt;
                              &lt;args&gt;
                                  &lt;arg&gt;-XtoString&lt;/arg&gt;
                              &lt;/args&gt;
                              &lt;plugins&gt;
                                  &lt;plugin&gt;
                                      &lt;groupId&gt;org.jvnet.jaxb2_commons&lt;/groupId&gt;
                                      &lt;artifactId&gt;jaxb2-basics&lt;/artifactId&gt;
                                      &lt;version&gt;0.6.4&lt;/version&gt;
                                  &lt;/plugin&gt;
                              &lt;/plugins&gt;
                          &lt;/configuration&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  </code></pre>
  
  <p><strong>springmvc-hibernate-resteasy-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:tx="http://www.springframework.org/schema/tx"
      xmlns:mvc="http://www.springframework.org/schema/mvc"
      xmlns:jpa="http://www.springframework.org/schema/data/jpa"
      xsi:schemaLocation="http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd
          http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
          http://www.springframework.org/schema/data/jpa http://www.springframework.org/schema/data/jpa/spring-jpa.xsd
          http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd
          http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd"&gt;
  
      &lt;!-- Import basic SpringMVC Resteasy integration --&gt;
      &lt;import resource="classpath:springmvc-resteasy.xml" /&gt;
  
      &lt;context:property-placeholder location="classpath:database.properties" /&gt;
  
      &lt;!-- to activate annotations in beans already registered in the ApplicationContext --&gt;
      &lt;context:annotation-config /&gt;
  
      &lt;jpa:repositories base-package="com.resteasy.series.spring.mvc.hibernate.repository" /&gt;
  
      &lt;!-- to activate MVC annotation --&gt;
      &lt;mvc:annotation-driven /&gt;
  
      &lt;!-- scans packages to find and register beans within the ApplicationContext --&gt;
      &lt;context:component-scan base-package="com.resteasy.series.spring.mvc.hibernate.*" /&gt;
  
      &lt;!-- turn on spring transaction annotation --&gt;
      &lt;tx:annotation-driven transaction-manager="transactionManager" /&gt;
  
      &lt;!-- Transaction Manager --&gt;
      &lt;bean id="transactionManager"  class="org.springframework.orm.jpa.JpaTransactionManager"&gt;
          &lt;property name="entityManagerFactory" ref="entityManagerFactory" /&gt;
      &lt;/bean&gt;
  
  
      &lt;bean id="jpaVendorAdapter" class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter"&gt;
          &lt;property name="showSql" value="true"/&gt;
          &lt;property name="generateDdl" value="true"/&gt;
          &lt;property name="database" value="MYSQL"/&gt;
      &lt;/bean&gt;
  
      &lt;!-- Session Factory --&gt;
      &lt;bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean"&gt;
          &lt;property name="dataSource" ref="dataSource" /&gt;
          &lt;property name="jpaVendorAdapter" ref="jpaVendorAdapter"/&gt;
          &lt;property name="packagesToScan" value="com.resteasy.series.spring.mvc.hibernate.model"/&gt;
  
          &lt;property name="jpaProperties"&gt;
              &lt;props&gt;
                  &lt;prop key="hibernate.hbm2ddl.auto"&gt;${mysql.hibernate.hbm2ddl.auto}&lt;/prop&gt;
                  &lt;prop key="hibernate.dialect"&gt;${mysql.hibernate.dialect}&lt;/prop&gt;
              &lt;/props&gt;
          &lt;/property&gt;
  
      &lt;/bean&gt;
  
      &lt;!-- dataSource configuration --&gt;
      &lt;bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource"&gt;
          &lt;property name="driverClassName" value="${mysql.driverClassName}" /&gt;
          &lt;property name="url" value="${mysql.url}" /&gt;
          &lt;property name="username" value="${mysql.username}" /&gt;
          &lt;property name="password" value="${mysql.password}" /&gt;
      &lt;/bean&gt;
  
      &lt;!-- view resolver --&gt;
      &lt;bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver"&gt;
          &lt;property name="viewClass" value="org.springframework.web.servlet.view.JstlView" /&gt;
          &lt;property name="prefix" value="/WEB-INF/jsp/" /&gt;
          &lt;property name="suffix" value=".jsp" /&gt;
      &lt;/bean&gt;
  &lt;/beans&gt;
  </code></pre>
  
  <p><strong>Please let me know if you need any other details. I really need help.</strong> I think this is very typical issue when working with resteasy + spring. Isn't it ?</p>
  
  <p>Dependency Tree:</p>
  
  <pre><code>[INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ RestEasy-Spring-MVC-Hibernate ---
  [INFO] in.bench.resources:RestEasy-Spring-MVC-Hibernate:war:1.0
  [INFO] +- org.jboss.resteasy:resteasy-jaxrs:jar:3.0.8.Final:compile
  [INFO] |  +- org.jboss.resteasy:jaxrs-api:jar:3.0.8.Final:compile
  [INFO] |  +- org.jboss.spec.javax.annotation:jboss-annotations-api_1.1_spec:jar:1.0.1.Final:compile
  [INFO] |  +- javax.activation:activation:jar:1.1:compile
  [INFO] |  +- org.apache.httpcomponents:httpclient:jar:4.2.1:compile
  [INFO] |  |  +- org.apache.httpcomponents:httpcore:jar:4.2.1:compile
  [INFO] |  |  +- commons-logging:commons-logging:jar:1.1.1:compile
  [INFO] |  |  \- commons-codec:commons-codec:jar:1.6:compile
  [INFO] |  +- commons-io:commons-io:jar:2.1:compile
  [INFO] |  \- net.jcip:jcip-annotations:jar:1.0:compile
  [INFO] +- org.jboss.resteasy:resteasy-servlet-initializer:jar:3.0.8.Final:compile
  [INFO] |  \- org.jboss.resteasy:async-http-servlet-3.0:jar:3.0.8.Final:compile
  [INFO] +- org.jboss.resteasy:resteasy-jaxb-provider:jar:3.0.8.Final:compile
  [INFO] |  \- com.sun.xml.bind:jaxb-impl:jar:2.2.7:compile
  [INFO] |     +- com.sun.xml.bind:jaxb-core:jar:2.2.7:compile
  [INFO] |     |  +- javax.xml.bind:jaxb-api:jar:2.2.7:compile
  [INFO] |     |  \- com.sun.istack:istack-commons-runtime:jar:2.16:compile
  [INFO] |     \- com.sun.xml.fastinfoset:FastInfoset:jar:1.2.12:compile
  [INFO] |        \- javax.xml.bind:jsr173_api:jar:1.0:compile
  [INFO] +- org.jboss.resteasy:resteasy-jackson-provider:jar:3.0.8.Final:compile
  [INFO] |  +- org.codehaus.jackson:jackson-core-asl:jar:1.9.12:compile
  [INFO] |  +- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.12:compile
  [INFO] |  +- org.codehaus.jackson:jackson-jaxrs:jar:1.9.12:compile
  [INFO] |  \- org.codehaus.jackson:jackson-xc:jar:1.9.12:compile
  [INFO] +- org.jboss.resteasy:resteasy-client:jar:3.0.8.Final:compile
  [INFO] +- org.jboss.resteasy:resteasy-spring:jar:3.0.8.Final:compile
  [INFO] |  \- org.jboss.resteasy:resteasy-jettison-provider:jar:3.0.8.Final:compile
  [INFO] |     \- org.codehaus.jettison:jettison:jar:1.3.2:compile
  [INFO] +- org.springframework:spring-webmvc:jar:4.2.8.RELEASE:compile
  [INFO] |  +- org.springframework:spring-beans:jar:4.2.8.RELEASE:compile
  [INFO] |  +- org.springframework:spring-context:jar:4.2.8.RELEASE:compile
  [INFO] |  +- org.springframework:spring-core:jar:4.2.8.RELEASE:compile
  [INFO] |  +- org.springframework:spring-expression:jar:4.2.8.RELEASE:compile
  [INFO] |  \- org.springframework:spring-web:jar:4.2.8.RELEASE:compile
  [INFO] +- org.springframework:spring-tx:jar:4.2.8.RELEASE:compile
  [INFO] +- org.springframework.data:spring-data-jpa:jar:1.10.5.RELEASE:compile
  [INFO] |  +- org.springframework.data:spring-data-commons:jar:1.12.5.RELEASE:compile
  [INFO] |  +- org.springframework:spring-orm:jar:4.2.8.RELEASE:compile
  [INFO] |  |  \- org.springframework:spring-jdbc:jar:4.2.8.RELEASE:compile
  [INFO] |  +- org.springframework:spring-aop:jar:4.2.8.RELEASE:compile
  [INFO] |  |  \- aopalliance:aopalliance:jar:1.0:compile
  [INFO] |  +- org.aspectj:aspectjrt:jar:1.8.9:compile
  [INFO] |  \- org.slf4j:slf4j-api:jar:1.7.21:compile
  [INFO] +- org.hibernate:hibernate-entitymanager:jar:4.3.11.Final:compile
  [INFO] |  +- org.jboss.logging:jboss-logging:jar:3.1.3.GA:compile
  [INFO] |  +- org.jboss.logging:jboss-logging-annotations:jar:1.2.0.Beta1:compile
  [INFO] |  +- dom4j:dom4j:jar:1.6.1:compile
  [INFO] |  |  \- xml-apis:xml-apis:jar:1.0.b2:compile
  [INFO] |  +- org.hibernate.common:hibernate-commons-annotations:jar:4.0.5.Final:compile
  [INFO] |  +- org.hibernate.javax.persistence:hibernate-jpa-2.1-api:jar:1.0.0.Final:compile
  [INFO] |  +- org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:jar:1.0.0.Final:compile
  [INFO] |  \- org.javassist:javassist:jar:3.18.1-GA:compile
  [INFO] +- org.hibernate:hibernate-core:jar:4.3.11.Final:compile
  [INFO] |  +- antlr:antlr:jar:2.7.7:compile
  [INFO] |  \- org.jboss:jandex:jar:1.1.0.Final:compile
  [INFO] +- javax.validation:validation-api:jar:1.1.0.Final:compile
  [INFO] +- org.hibernate:hibernate-validator:jar:5.1.3.Final:compile
  [INFO] |  \- com.fasterxml:classmate:jar:1.0.0:compile
  [INFO] +- org.hibernate:hibernate-ehcache:jar:4.3.11.Final:compile
  [INFO] |  \- net.sf.ehcache:ehcache-core:jar:2.4.3:compile
  [INFO] +- cglib:cglib:jar:3.2.4:compile
  [INFO] |  +- org.ow2.asm:asm:jar:5.1:compile
  [INFO] |  \- org.apache.ant:ant:jar:1.9.6:compile
  [INFO] |     \- org.apache.ant:ant-launcher:jar:1.9.6:compile
  [INFO] +- com.fasterxml.jackson.core:jackson-core:jar:2.8.5:compile
  [INFO] +- mysql:mysql-connector-java:jar:5.1.32:compile
  [INFO] +- javax.servlet:javax.servlet-api:jar:3.1.0:compile
  [INFO] +- jstl:jstl:jar:1.2:compile
  [INFO] +- org.slf4j:jcl-over-slf4j:jar:1.7.12:compile
  [INFO] \- ch.qos.logback:logback-classic:jar:1.1.3:compile
  [INFO]    \- ch.qos.logback:logback-core:jar:1.1.3:compile
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD SUCCESS
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 1.697s
  [INFO] Finished at: Fri Dec 23 18:59:14 IST 2016
  [INFO] Final Memory: 12M/494M
  [INFO] ------------------------------------------------------------------------
  </code></pre>