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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.