I am seeing this in the tomcat.out log whenever I save the web.xml file

[ERROR] Digester - -Parse Error at line 143 column 11: The content of
element type "web-app" must match
"(icon?,display-name?,description?,distributable?,context-param*,filter*,fil
ter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mappin
g*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,se
curity-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-loca
l-ref*)".

<org.xml.sax.SAXParseException: The content of element type "web-app" must
match
"(icon?,display-name?,description?,distributable?,context-param*,filter*,fil
ter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mappin
g*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,se
curity-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-loca
l-ref*)".>

Line 143 column 11 is the end of the web.xml file.

I've tried saving the file in unix format but that didn't help.

I've removed sections of the web.xml file until all I am left with is the
<welcome-file-list> clause and it seemed happy after that. Adding in the
next section <servlet> and the above error returned.

Any ideas?

Could it be the JVM I am running? I have installed the IBMJava2-JRE-1.4.1-8
if that makes a difference.

 

Brennon Obst 


Java Security Programmer
iEnergy Main Branch 
39 Melbourne St. / Brisbane 
p. (617) 3846-6666 
[EMAIL PROTECTED] 

 

Reply via email to