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

前端 未结 3 1005
星月不相逢
星月不相逢 2021-01-25 01:21

I am trying to set a variable that I will refer to in a custom JSP tag, so I have something like this in my JSP:

<%@ taglib prefix=\"c\" uri=\"http://java.sun         


        
3条回答
  •  青春惊慌失措
    2021-01-25 01:37

    This seems to come up quite a bit. We had Hadoop as a dependency and had to do multiple exclusions. Some of these are probably redundant, but this finally worked. I should note that there was no change until I started excluding Jasper at the bottom.

    
        
            org.mortbay.jetty
            jsp-2.1
        
        
            org.mortbay.jetty
            jsp-api-2.1
        
        
            org.mortbay.jetty
            jsp-api
        
        
            org.mortbay.jetty
            servlet-api
        
        
            org.mortbay.jetty
            servlet-api-2.5
        
        
            org.mortbay.jetty
            jetty
        
        
            org.mortbay.jetty
            jetty-util
        
        
            tomcat
            jasper-compiler
        
        
            tomcat
            jasper-runtime
        
    
    

提交回复
热议问题