Troubleshooting java.lang.AbstractMethodError in portlet development

不羁的心 提交于 2019-12-25 03:39:29

问题


I'm having this issue while developing portlets:

Caused by: javax.servlet.ServletException: java.lang.AbstractMethodError: javax.servlet.jsp.PageContext.getELContext()Ljavax/el/ELContext;

I don't know anymore, what I can do.

My portlet set-up is as follows:

  • in web.xml: <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
  • in my jsp: <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>

I also have some Maven dependencies in the POM file including portlet-api 2.0, jsp-api 2.1, servlet-api 2.5, jstl 1.2, el-api 2.2 and el-impl 2.2 ...

Anyone has an idea what to do?

来源:https://stackoverflow.com/questions/7268475/troubleshooting-java-lang-abstractmethoderror-in-portlet-development

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!