zoukankan      html  css  js  c++  java
  • (class: org/apache/jasper/runtime/PageContextImpl, method: getELResolver signature: ()Ljavax/el/ELResolver;) Incompatible argument to

    网上大多都说是jsp版本原因:

      引用:

     .............................................. .............................................. .............................................. ........................................ 

    如果用jsp2.1最好用jdk1.5及或以上版本,否则当打开jsp页面时会抛出异常:
    FATAL: Exception initializing page context
    java.lang.VerifyError: (class: org/apache/jasper/runtime/PageContextImpl, method: getELResolver signature: ()Ljavax/el/ELResolver;) Incompatible argument to function
     at org.apache.jasper.runtime.JspFactoryImpl.internalGetPageContext(JspFactoryImpl.java:157)

    所以若不想见到这个异常最好直接选择jsp2.0的jar。
    然而jsp2.0的jar比较多,会让程序显得很乱。

     .............................................. .............................................. .............................................. ..........................................

      最好是看看一看jetty支持的各个版本:(当然这个图比较旧了,现在ketty都到9了,可以去官网看看版本支持)

      

    但是出现这个问题不是版本的原因,我lean了一下就好了,也不知道是怎么回事:

  • 相关阅读:
    二叉搜索查找排序树
    多项式运算
    赫夫曼编码及应用
    利用python画出动态高优先权优先调度
    利用python画出SJF调度图
    支持向量机
    fisher线性分类器
    Codeforces Round #520 (Div. 2)
    Codeforces Round #510 (Div. 2)
    Codeforces Round #504 (rated, Div. 1 + Div. 2, based on VK Cup 2018 Final)
  • 原文地址:https://www.cnblogs.com/nightswatch/p/4639729.html
Copyright © 2011-2022 走看看