tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Cox <>
Subject web.xml Error
Date Tue, 11 Jul 2000 09:34:17 GMT
Anyone seen this one before:

I'm trying to run a webapp under Tomcat 3.1
on NT4 sp6 with jdk1.2.2 and JSDK2.0.  I've customized
the sample web.xml
file but when I try to start Tomcat, I get the
following error:

ERROR reading <path>\app\WEB_INF\web.xml
At Document root element missing

ERROR reading <path>\app\WEB_INF\web.xml
at org.apache.tomcat.util.xml.XmlMapper.readXML

The web.xml looks like this:

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web
Application 2.2//EN"

<!-- body -->

Can anyone give me any sort of explaination/solution
for this?  I've tried re-typing the entire web.xml
(rather than copy/paste) in three different text
editors just incase the encoding was wrong or there
was any white space/invisible characters screwing
things up but nothing helps...


Do You Yahoo!?
Get Yahoo! Mail  Free email you can access from anywhere!

View raw message