1 Reply Latest reply on Mar 8, 2005 11:58 AM by Matt Lin

    [Tomcat5] Failed to parse web.xml

    Matt Lin Newbie

      When I tried to deploy a war file, I got the following Exception complaining about my web.xml file. Please help.

      15:23:43,453 WARN [Tomcat5] Failed to parse descriptors for war(file:/D:/jboss-3.2.6/server/default/tmp/deploy/tmp20117CVF_v01_00.ear-contents/floghmi.war/)
      org.jboss.deployment.DeploymentException: Failed to parse WEB-INF/web.xml; - nes
      ted throwable: (org.jboss.deployment.DeploymentException: java.sun.com; - nested
      throwable:
      ......

      My web.xml is below. Anything wrong with it??

      <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 1.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">

      <web-app>

      <servlet-name>LogConfig</servlet-name>
      <jsp-file>LogConfig.jsp</jsp-file>

      </web-app>