• The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory


    An error occurred at line: 23 in the generated java file
    The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory
    
    Stacktrace:
            org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
            org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
            org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:423)
            org.apache.jasper.compiler.Compiler.compile(Compiler.java:308)
            org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
            org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
            org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
            org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
            org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
            org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
            javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

    jsp相关的jar包冲突了,我的是删除了pom.xml里面的jsp-api配置就正常了。
  • 相关阅读:
    自动化运维-ansible
    Linux中安装wget命令
    Celery
    SQLAlchemy
    非关系型数据库--MongoDB
    Flask框架
    Redis
    公钥与私钥
    win10 文件扩展名的更改
    if 和 elif 的区别
  • 原文地址:https://www.cnblogs.com/tietazhan/p/5099930.html
Copyright © 2020-2023  润新知