JBoss is failing to run JSPs with java.lang.AbstractMethodError

Solution Verified - Updated -

Issue

  • Application working fine on tomcat 5.5
  • After successfully deploying same application on jboss-eap-5.1.2 when try to hit any jsp page of application it's giving following exception:
"javax.servlet.ServletException: java.lang.AbstractMethodError: javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:257)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 5.x
  • JBoss Enterprise Web Server (EWS)
    • Tomcat 6, 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content