zoukankan      html  css  js  c++  java
  • JAVA常见错误收集

    1.javax.naming.NameNotFoundException: Name java:comp is not bound in this Context

    =====>

    --这是在初始化context时(Context envCtx = (Context) ctx.lookup("java:comp/env");)抛出的异常;解决方法是把工程/WEB-INF/lib下面naming-common.jar,naming-factory.jar,naming-resources.jar三个jar包删除;

    2. unable to complie class for jsp

    ===>
    是因为TOOL.JAR   SERVLET_API.JAR与TOMCAT 有冲突。


    3.org.Apache.struts.taglib.html.MessagesTei


    关键字: struts
    tomcat5.5 中 JasperException: Failed to load or instantiate TagExtraInfo class:org.Apache.struts.taglib.html.MessagesTei

    tomcat5.5 中 JasperException: Failed to load or instantiate TagExtraInfo class:org.Apache.struts.taglib.html.MessagesTei

    JasperException: Failed to load or instantiate TagExtraInfo class: com.acme.tag.IterateTEI

    等等...

    ==>

    原因是 web-inf/lib/下出现了jsp-api.jar和,serverlet-api.jar,把它们删除,然后重新启动 web应用即可。

  • 相关阅读:
    敏感性分析与风险分析
    深入理解PHP之foreach
    PHP上传文件到七牛(Qiniu)
    Swoft 新手向教程
    HP下kafka的实践
    关于BOOTSTRAP的整理和理解
    win10 ubuntu 子系统安装php
    CentOS7 安装 PHP7.2
    PHP 锁机制
    深入理解PHP之strpos
  • 原文地址:https://www.cnblogs.com/zqmingok/p/1779900.html
Copyright © 2011-2022 走看看