title: Spring 4.0 with Tomcat 6: EL version conflict
body: <p>As per the <a href="https://github.com/spring-projects/spring-framework/wiki/Migrating-from-earlier-versions-of-the-spring-framework" rel="nofollow">migration guide</a>, Spring 4.0 requires Hibernate Validator in version 4.3 or later and Tomcat in version 6.0.33 or later.</p>
  
  <p>Hibernate Validator 4.3 depends upon EL 2.2 won't work with Tomcat 6.0.33 comes with EL 2.1. It will give below error:</p>
  
  <pre><code>NoSuchMethodError: javax.el.ExpressionFactory.newInstance()Ljavax/el/ExpressionFactory)
  </code></pre>
  
  <p>My app is deployed in Tomcat 6 and I do not have the rights to update the EL libs.</p>
  
  <p>In this scenario, how to migrate to Spring 4.0 with Tomcat 6?</p>