NullPointerException at javax.faces.webapp.FacesServlet.init

错误: java.lang.NullPointerException at javax.faces.webapp.FacesServlet.init(FacesServlet.java144)

文章编号: 32539
软件:  ArcGIS Server 9.2, 9.3, 9.3.1 ArcIMS 9.2, 9.3, 9.3.1
平台:  Windows 2000, XP, 2003Server AIX 5.2, 5.3 Solaris 9, 10 HP-UX 11.11 Linux Red Hat AS/ES 4.0 Linux-SUSE Server 9

错误信息:

When viewing Web Mapping applications deployed on Tomcat version 5.5.20, the following error is displayed:
"java.lang.NullPointerException at javax.faces.webapp.FacesServlet.init(FacesServlet.java:144)"

原因:

This is a known issue with the 5.5.20 distribution of Apache Tomcat.

解决方案:

  1. Add the following to the \webapps\WEB-INF\web.xml file:  <LISTENER>
    <LISTENER-CLASS>com.sun.faces.config.ConfigureListener</LISTENER-CLASS>
    </LISTENER>
  2. Re-start the Tomcat service.

本文地址:http://resources.arcgis.com/content/kbase?fa=articleShow&d=32539


如果给你带来帮助,欢迎微信或支付宝扫一扫,赞一下。