title: java.lang.AbstractMethodError: javax.servlet.jsp.PageContext.getELContext()Ljavax/el/ELContext
body: <p>I am returning data from spring controller as below:</p>
  
  <pre><code>    HashMap hm = new HashMap();
      hm.put("totalPage", pageQuery.count());
      ArrayList al = new ArrayList();
      while(iterator.hasNext()){
          Vertex v = iterator.next();
          MyPageList myPageList = new MyPageList();
          myPageList.setPageName(....);
          al.add(myPageList);
      }
      hm.put("pages", al);
      ...
      ...
      HashMap hm2=new HashMap();
      hm2.put("mydata",hm);
      return hm2;
  </code></pre>
  
  <p>On jsp side If i use <code>${mydata['totalPage']}</code> it prints the value bu when when i try to iterate <code>pages</code> as below:</p>
  
  <pre><code>&lt;c:forEach items="${mydata['pages']}" var="v"&gt;  
  &lt;/c:forEach&gt;
  </code></pre>
  
  <p>It show following exception:</p>
  
  <pre><code>javax.servlet.ServletException: java.lang.AbstractMethodError: javax.servlet.jsp.PageContext.getELContext()Ljavax/el/ELContext;
  </code></pre>
  
  <p>How can i display <code>pages</code> values??</p>
  
  <p>Here is my POM file</p>
  
  <p>http://maven.apache.org/xsd/maven-4.0.0.xsd">
      4.0.0</p>
  
  <pre><code>&lt;groupId&gt;com.xyz&lt;/groupId&gt;
  &lt;artifactId&gt;abcde&lt;/artifactId&gt;
  &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
  &lt;packaging&gt;war&lt;/packaging&gt;
  
  &lt;name&gt;hello world&lt;/name&gt;
  
  &lt;properties&gt;
      &lt;spring.version&gt;3.2.4.RELEASE&lt;/spring.version&gt;        
  &lt;/properties&gt;
  &lt;dependencies&gt;
      &lt;!-- spring --&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-core&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.springframework&lt;/groupId&gt;
              &lt;artifactId&gt;spring-web&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-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-context-support&lt;/artifactId&gt;
              &lt;version&gt;${spring.version}&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;!-- spring security --&gt;
      &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.security&lt;/groupId&gt;
              &lt;artifactId&gt;spring-security-config&lt;/artifactId&gt;
              &lt;version&gt;3.1.4.RELEASE&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.security&lt;/groupId&gt;
              &lt;artifactId&gt;spring-security-core&lt;/artifactId&gt;
              &lt;version&gt;3.1.4.RELEASE&lt;/version&gt;
      &lt;/dependency&gt;            
      &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.security&lt;/groupId&gt;
              &lt;artifactId&gt;spring-security-web&lt;/artifactId&gt;
              &lt;version&gt;3.1.4.RELEASE&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.security&lt;/groupId&gt;
              &lt;artifactId&gt;spring-security-taglibs&lt;/artifactId&gt;
              &lt;version&gt;3.1.4.RELEASE&lt;/version&gt;
      &lt;/dependency&gt;
  
  &lt;!-- javax mail --&gt;
  &lt;dependency&gt;
          &lt;groupId&gt;javax.mail&lt;/groupId&gt;
          &lt;artifactId&gt;javax.mail-api&lt;/artifactId&gt;
          &lt;version&gt;1.5.0&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
          &lt;groupId&gt;javax.mail&lt;/groupId&gt;
          &lt;artifactId&gt;mail&lt;/artifactId&gt;
          &lt;version&gt;1.4.7&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
          &lt;groupId&gt;javax.mail&lt;/groupId&gt;
          &lt;artifactId&gt;mailapi&lt;/artifactId&gt;
          &lt;version&gt;1.4.3&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
          &lt;groupId&gt;com.sun.mail&lt;/groupId&gt;
          &lt;artifactId&gt;javax.mail&lt;/artifactId&gt;
          &lt;version&gt;1.5.0&lt;/version&gt;
  &lt;/dependency&gt;
  
  &lt;!-- Cassandra dependency --&gt;
  &lt;dependency&gt;
    &lt;groupId&gt;org.apache.cassandra&lt;/groupId&gt;
    &lt;artifactId&gt;cassandra-thrift&lt;/artifactId&gt;
    &lt;version&gt;2.0.0&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
    &lt;groupId&gt;org.apache.cassandra&lt;/groupId&gt;
    &lt;artifactId&gt;cassandra-clientutil&lt;/artifactId&gt;
    &lt;version&gt;2.0.0&lt;/version&gt;
  &lt;/dependency&gt;            
  &lt;dependency&gt;
    &lt;groupId&gt;com.datastax.cassandra&lt;/groupId&gt;
    &lt;artifactId&gt;cassandra-driver-core&lt;/artifactId&gt;
    &lt;version&gt;2.0.0-rc2&lt;/version&gt;
  &lt;/dependency&gt;       
  &lt;dependency&gt;
    &lt;groupId&gt;com.yammer.metrics&lt;/groupId&gt;
    &lt;artifactId&gt;metrics-core&lt;/artifactId&gt;
    &lt;version&gt;2.2.0&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
    &lt;groupId&gt;org.apache.thrift&lt;/groupId&gt;
    &lt;artifactId&gt;libthrift&lt;/artifactId&gt;
    &lt;version&gt;0.9.1&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.16&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;commons-fileupload&lt;/groupId&gt;
      &lt;artifactId&gt;commons-fileupload&lt;/artifactId&gt;
      &lt;version&gt;1.3&lt;/version&gt;
  &lt;/dependency&gt;
  
  &lt;!-- Titan dependency --&gt;
  &lt;dependency&gt;
     &lt;groupId&gt;com.thinkaurelius.titan&lt;/groupId&gt;
     &lt;artifactId&gt;titan-core&lt;/artifactId&gt;
     &lt;version&gt;0.4.2&lt;/version&gt;
  &lt;/dependency&gt;   
  &lt;dependency&gt;
     &lt;groupId&gt;com.thinkaurelius.titan&lt;/groupId&gt;
     &lt;artifactId&gt;titan-cassandra&lt;/artifactId&gt;
     &lt;version&gt;0.4.2&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
     &lt;groupId&gt;com.thinkaurelius.titan&lt;/groupId&gt;
     &lt;artifactId&gt;titan-all&lt;/artifactId&gt;
     &lt;version&gt;0.4.2&lt;/version&gt;
  &lt;/dependency&gt;        
  
  
  &lt;!-- jstl --&gt;
  &lt;dependency&gt;
          &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
          &lt;artifactId&gt;jstl&lt;/artifactId&gt;
          &lt;version&gt;1.2&lt;/version&gt;
  &lt;/dependency&gt;        
  &lt;/dependencies&gt;
  
  &lt;build&gt;
      &lt;finalName&gt;SpringMVC&lt;/finalName&gt;
      &lt;plugins&gt;
          &lt;plugin&gt;
              &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&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;/plugins&gt;
  &lt;/build&gt;
  </code></pre>
  
  <p></p>